Sha256: 97bac61366f9e30112fce59695c70b47e0814e9a9d2da437217782b5a9b1cc75

Contents?: true

Size: 412 Bytes

Versions: 16

Compression:

Stored size: 412 Bytes

Contents

module Cms
  class ToolbarController < Cms::BaseController

    layout "cms/toolbar"

    helper Cms::MobileHelper

    def index      
      if params[:page_toolbar] != "0"
        @mode = params[:mode]
        @page_toolbar_enabled = true
      end
      @page_version = params[:page_version]
      @page = Page.find(params[:page_id]).as_of_version(params[:page_version]) if params[:page_id]
    end

  end
end

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
browsercms-artirix-4.0.4 app/controllers/cms/toolbar_controller.rb
browsercms-artirix-4.0.3.3 app/controllers/cms/toolbar_controller.rb
browsercms-artirix-4.0.3.2 app/controllers/cms/toolbar_controller.rb
browsercms-artirix-4.0.3.1 app/controllers/cms/toolbar_controller.rb
browsercms-artirix-4.0.3 app/controllers/cms/toolbar_controller.rb
browsercms-artirix-4.0.2 app/controllers/cms/toolbar_controller.rb
browsercms-artirix-4.0.1.1 app/controllers/cms/toolbar_controller.rb
browsercms-artirix-4.0.0.rc1.art4 app/controllers/cms/toolbar_controller.rb
browsercms-4.0.0.rc1 app/controllers/cms/toolbar_controller.rb
browsercms-4.0.0.beta app/controllers/cms/toolbar_controller.rb
browsercms-4.0.0.alpha app/controllers/cms/toolbar_controller.rb
browsercms-3.5.7 app/controllers/cms/toolbar_controller.rb
browsercms-3.5.6 app/controllers/cms/toolbar_controller.rb
browsercms-3.5.5 app/controllers/cms/toolbar_controller.rb
browsercms-3.5.4 app/controllers/cms/toolbar_controller.rb
browsercms-3.5.3 app/controllers/cms/toolbar_controller.rb