Class: Cms::CacheController
- Inherits:
-
BaseController
- Object
- ActionController::Base
- ApplicationController
- ApplicationController
- BaseController
- Cms::CacheController
- Defined in:
- app/controllers/cms/cache_controller.rb
Instance Method Summary collapse
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
#destroy ⇒ Object
12 13 14 15 16 |
# File 'app/controllers/cms/cache_controller.rb', line 12 def destroy Cms.flush_cache flash[:notice] = "Page Cache Flushed" redirect_to :action => "show" end |
#show ⇒ Object
8 9 10 |
# File 'app/controllers/cms/cache_controller.rb', line 8 def show end |