Class: GraphStarter::CategoriesController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- ApplicationController
- GraphStarter::CategoriesController
- Defined in:
- app/controllers/graph_starter/categories_controller.rb
Instance Method Summary collapse
Methods inherited from ApplicationController
Instance Method Details
#show ⇒ Object
3 4 5 6 7 |
# File 'app/controllers/graph_starter/categories_controller.rb', line 3 def show @category = category render json: @category end |