Class: Admin::PostTypesController

Inherits:
AdminController
  • Object
show all
Defined in:
app/controllers/admin/post_types_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject

get /admin/post_types



5
6
7
# File 'app/controllers/admin/post_types_controller.rb', line 5

def index
  @collection = PostType.page_for_administration
end

#post_categoriesObject

get /admin/post_types/:id/post_categories



15
16
# File 'app/controllers/admin/post_types_controller.rb', line 15

def post_categories
end

#showObject

get /admin/post_types/:id



10
11
12
# File 'app/controllers/admin/post_types_controller.rb', line 10

def show
  @collection = @entity.posts.page_for_administration(current_page)
end