Sha256: bc05944f321c9956b16e078190c45a8eb1a01348f802bd42ba19bba9fc115e92
Contents?: true
Size: 386 Bytes
Versions: 6
Compression:
Stored size: 386 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.flush_cache flash[:notice] = "Page Cache Flushed" redirect_to :action => "show" end private def set_menu_section @menu_section = 'caching' end end end
Version data entries
6 entries across 6 versions & 1 rubygems