Class: Admin::PostsController
- Inherits:
-
AdminController
- Object
- AdminController
- Admin::PostsController
- Includes:
- ToggleableEntity
- Defined in:
- app/controllers/admin/posts_controller.rb
Instance Method Summary collapse
-
#index ⇒ Object
get /admin/posts.
-
#show ⇒ Object
get /admin/posts/:id.
Instance Method Details
#index ⇒ Object
get /admin/posts
7 8 9 |
# File 'app/controllers/admin/posts_controller.rb', line 7 def index @collection = Post.page_for_administration(current_page) end |
#show ⇒ Object
get /admin/posts/:id
12 13 |
# File 'app/controllers/admin/posts_controller.rb', line 12 def show end |