Class: Cms::ContentController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- ApplicationController
- Cms::ContentController
- Includes:
- Attachments::Serving, ContentRenderingSupport, MobileAware
- 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 MobileAware
#determine_page_layout, #respond_as_mobile?, #select_cache_directory
Methods included from DefaultCaches
#cms_cache_directory, #mobile_cache_directory
Methods included from Attachments::Serving
#send_attachment, #send_attachments_with, send_attachments_with
Methods included from ContentRenderingSupport
#determine_page_layout, #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
#attachment_path_for, #cms_connectable_path, #cms_index_path_for, #cms_index_url_for, #cms_new_path_for, #cms_new_url_for, #cms_sortable_column_path, #edit_cms_connectable_path, #engine_for, #link_to_usages, #path_elements_for
Methods included from ErrorHandling
#handle_access_denied, #handle_server_error, #with_format
Instance Method Details
#instance_variables_for_rendering ⇒ Object
Used by the rendering behavior
30 31 32 |
# File 'app/controllers/cms/content_controller.rb', line 30 def instance_variables_for_rendering instance_variables - (@initial_ivars || []) - ["@initial_ivars"] end |
#show ⇒ Object
—– Actions ————————————————————–
20 21 22 |
# File 'app/controllers/cms/content_controller.rb', line 20 def show render_page_with_caching end |
#show_page_route ⇒ Object
24 25 26 |
# File 'app/controllers/cms/content_controller.rb', line 24 def show_page_route render_page_with_caching end |