Class: Admin::PostTypesController
- Inherits:
-
AdminController
- Object
- AdminController
- Admin::PostTypesController
- Defined in:
- app/controllers/admin/post_types_controller.rb
Instance Method Summary collapse
-
#index ⇒ Object
get /admin/post_types.
-
#post_categories ⇒ Object
get /admin/post_types/:id/post_categories.
-
#show ⇒ Object
get /admin/post_types/:id.
Instance Method Details
#index ⇒ Object
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_categories ⇒ Object
get /admin/post_types/:id/post_categories
15 16 |
# File 'app/controllers/admin/post_types_controller.rb', line 15 def post_categories end |
#show ⇒ Object
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 |