Class: Cms::ContentController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- ApplicationController
- Cms::ContentController
- Includes:
- ContentRenderingSupport
- Defined in:
- app/controllers/cms/content_controller.rb
Instance Method Summary collapse
-
#instance_variables_for_rendering ⇒ Object
Used by the rendering behavior.
-
#show ⇒ Object
----- Actions --------------------------------------------------------------.
- #show_page_route ⇒ Object
Methods included from ContentRenderingSupport
#handle_access_denied_on_page, #handle_not_found_on_page, #handle_server_error_on_page
Methods included from PageHelper
#able_to?, #cms_content_editor, #cms_toolbar, #container, #container_has_block?, #current_page, #page_title, #render_breadcrumbs, #render_portlet
Methods included from PathHelper
#cms_connectable_path, #cms_index_path_for, #cms_index_url_for, #cms_new_path_for, #cms_new_url_for, #edit_cms_connectable_path, #engine_for, #path_elements_for
Methods included from ErrorHandling
#handle_access_denied, #handle_server_error
Instance Method Details
#instance_variables_for_rendering ⇒ Object
Used by the rendering behavior
26 27 28 |
# File 'app/controllers/cms/content_controller.rb', line 26 def instance_variables_for_rendering instance_variables - (@initial_ivars || []) - ["@initial_ivars"] end |
#show ⇒ Object
----- Actions --------------------------------------------------------------
16 17 18 |
# File 'app/controllers/cms/content_controller.rb', line 16 def show render_page_with_caching end |
#show_page_route ⇒ Object
20 21 22 |
# File 'app/controllers/cms/content_controller.rb', line 20 def show_page_route render_page_with_caching end |