Class: Admin::PostImagesController

Inherits:
AdminController
  • Object
show all
Includes:
EntityPriority, ToggleableEntity
Defined in:
app/controllers/admin/post_images_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject

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

#postsObject

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

#showObject

get /admin/post_images/:id



13
14
# File 'app/controllers/admin/post_images_controller.rb', line 13

def show
end