Class: Legacy::Admin::PostCategoriesController
- Inherits:
-
AdminController
- Object
- AdminController
- Legacy::Admin::PostCategoriesController
- Defined in:
- app/controllers/legacy/admin/post_categories_controller.rb
Instance Method Summary collapse
- #index ⇒ Object
-
#items ⇒ Object
get /admin/post_categories/:id/items.
-
#show ⇒ Object
get /admin/post_categories/:id.
Instance Method Details
#index ⇒ Object
5 6 7 |
# File 'app/controllers/legacy/admin/post_categories_controller.rb', line 5 def index @collection = PostCategory.for_tree end |
#items ⇒ Object
get /admin/post_categories/:id/items
14 15 16 |
# File 'app/controllers/legacy/admin/post_categories_controller.rb', line 14 def items @collection = Post.in_category(@entity).page_for_administration current_page end |
#show ⇒ Object
get /admin/post_categories/:id
10 11 |
# File 'app/controllers/legacy/admin/post_categories_controller.rb', line 10 def show end |