Sha256: c778aaaf6ec867771d788c19ca1e3a63af40aa7d2fd8cfb441b1d74704f67ac8
Contents?: true
Size: 387 Bytes
Versions: 11
Compression:
Stored size: 387 Bytes
Contents
module Cms class CacheController < Cms::BaseController layout 'cms/administration' check_permissions :administrate before_filter :set_menu_section def show end def destroy Cms::Cache.flush flash[:notice] = "Page Cache Flushed" redirect_to :action => "show" end private def set_menu_section @menu_section = 'caching' end end end
Version data entries
11 entries across 11 versions & 1 rubygems