Class: Legacy::Admin::PostsController
- Inherits:
-
AdminController
- Object
- AdminController
- Legacy::Admin::PostsController
- Defined in:
- app/controllers/legacy/admin/posts_controller.rb
Instance Method Summary collapse
-
#index ⇒ Object
get /admin/posts.
-
#post_categories ⇒ Object
get /admin/posts/:id/post_categories.
-
#show ⇒ Object
get /admin/posts/:id.
Instance Method Details
#index ⇒ Object
get /admin/posts
6 7 8 |
# File 'app/controllers/legacy/admin/posts_controller.rb', line 6 def index @collection = Post.page_for_administration current_page end |
#post_categories ⇒ Object
get /admin/posts/:id/post_categories
15 16 17 |
# File 'app/controllers/legacy/admin/posts_controller.rb', line 15 def post_categories @collection = @entity.post_categories.page_for_administration end |
#show ⇒ Object
get /admin/posts/:id
11 12 |
# File 'app/controllers/legacy/admin/posts_controller.rb', line 11 def show end |