Class: Cms::CacheController

Inherits:
BaseController show all
Includes:
AdminTab
Defined in:
app/controllers/cms/cache_controller.rb

Instance Method Summary collapse

Methods included from AdminTab

#new_button_path

Methods inherited from BaseController

allow_guests_to

Methods inherited from ApplicationController

#no_browser_caching

Instance Method Details

#destroyObject



11
12
13
14
15
# File 'app/controllers/cms/cache_controller.rb', line 11

def destroy
  Cms::Cache.flush
  flash[:notice] = "Page Cache Flushed"
  redirect_to :action => "show"
end

#showObject



7
8
9
# File 'app/controllers/cms/cache_controller.rb', line 7

def show

end