Sha256: 9d8283a056af3b693c400105b1d707100e05d1a062001287be5dd40b1dac9eff

Contents?: true

Size: 359 Bytes

Versions: 11

Compression:

Stored size: 359 Bytes

Contents

module Cms
  class CacheController < Cms::BaseController

    include Cms::AdminTab
    check_permissions :administrate

    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 & 2 rubygems

Version Path
browsercms-artirix-4.0.4 app/controllers/cms/cache_controller.rb
browsercms-artirix-4.0.3.3 app/controllers/cms/cache_controller.rb
browsercms-artirix-4.0.3.2 app/controllers/cms/cache_controller.rb
browsercms-artirix-4.0.3.1 app/controllers/cms/cache_controller.rb
browsercms-artirix-4.0.3 app/controllers/cms/cache_controller.rb
browsercms-artirix-4.0.2 app/controllers/cms/cache_controller.rb
browsercms-artirix-4.0.1.1 app/controllers/cms/cache_controller.rb
browsercms-artirix-4.0.0.rc1.art4 app/controllers/cms/cache_controller.rb
browsercms-4.0.0.rc1 app/controllers/cms/cache_controller.rb
browsercms-4.0.0.beta app/controllers/cms/cache_controller.rb
browsercms-4.0.0.alpha app/controllers/cms/cache_controller.rb