Class: Admin::PostImagesController
- Inherits:
-
AdminController
- Object
- AdminController
- Admin::PostImagesController
- Includes:
- EntityPriority, ToggleableEntity
- Defined in:
- app/controllers/admin/post_images_controller.rb
Instance Method Summary collapse
-
#index ⇒ Object
get /admin/post_images.
-
#posts ⇒ Object
get /admin/post_images/:id/posts.
-
#show ⇒ Object
get /admin/post_images/:id.
Instance Method Details
#index ⇒ Object
get /admin/post_images
8 9 10 |
# File 'app/controllers/admin/post_images_controller.rb', line 8 def index @collection = PostImage.page_for_administration(current_page) end |
#posts ⇒ Object
get /admin/post_images/:id/posts
17 18 19 |
# File 'app/controllers/admin/post_images_controller.rb', line 17 def posts @collection = @entity.posts.page_for_administration(current_page) end |
#show ⇒ Object
get /admin/post_images/:id
13 14 |
# File 'app/controllers/admin/post_images_controller.rb', line 13 def show end |