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