Class: Cms::CategoryTypesController
- Inherits:
-
ContentBlockController
- Object
- ApplicationController
- ApplicationController
- BaseController
- ContentBlockController
- Cms::CategoryTypesController
- Defined in:
- app/controllers/cms/category_types_controller.rb
Instance Method Summary collapse
Methods inherited from ContentBlockController
#bulk_update, #destroy, #edit, #index, #inline, #new, #new_button_path, #publish, #revert_to, #show_via_slug, #update, #version, #versions
Methods included from ContentRenderingSupport
#handle_access_denied_on_page, #handle_draft_not_found, #handle_not_found_on_page, #handle_server_error_on_page, #show_content_as_page
Methods inherited from BaseController
Methods inherited from ApplicationController
Instance Method Details
#create ⇒ Object
7 8 9 10 |
# File 'app/controllers/cms/category_types_controller.rb', line 7 def create params[:_redirect_to] = category_types_path super end |
#show ⇒ Object
3 4 5 |
# File 'app/controllers/cms/category_types_controller.rb', line 3 def show redirect_to edit_category_type_path(id: params[:id]) end |