Class: Cms::ContentController

Inherits:
ApplicationController show all
Includes:
ContentRenderingSupport
Defined in:
app/controllers/cms/content_controller.rb

Instance Method Summary collapse

Methods included from ContentRenderingSupport

#handle_access_denied_on_page, #handle_not_found_on_page, #handle_server_error_on_page, included

Methods included from PageHelper

#able_to?, #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

Methods included from ErrorHandling

#handle_access_denied, #handle_server_error, included

Instance Method Details

#instance_variables_for_renderingObject

Used by the rendering behavior



25
26
27
# File 'app/controllers/cms/content_controller.rb', line 25

def instance_variables_for_rendering
  instance_variables - (@initial_ivars || []) - ["@initial_ivars"]
end

#showObject

—– Actions ————————————————————–



15
16
17
# File 'app/controllers/cms/content_controller.rb', line 15

def show
  render_page_with_caching
end

#show_page_routeObject



19
20
21
# File 'app/controllers/cms/content_controller.rb', line 19

def show_page_route
  render_page_with_caching
end