Sha256: efe62f9bbd34784c924bae8f5346bd214bf87b1cc63a53396a06860dc48e15b4

Contents?: true

Size: 401 Bytes

Versions: 6

Compression:

Stored size: 401 Bytes

Contents

module Cms
  class ToolbarController < Cms::BaseController

    layout "cms/toolbar"

    helper 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

6 entries across 6 versions & 1 rubygems

Version Path
browsercms-3.5.2 app/controllers/cms/toolbar_controller.rb
browsercms-3.5.1 app/controllers/cms/toolbar_controller.rb
browsercms-3.5.0 app/controllers/cms/toolbar_controller.rb
browsercms-3.5.0.rc3 app/controllers/cms/toolbar_controller.rb
browsercms-3.5.0.rc2 app/controllers/cms/toolbar_controller.rb
browsercms-3.5.0.rc1 app/controllers/cms/toolbar_controller.rb