Sha256: 642220299a6bcae2cc276f5acf8c5ce9e37a15db4a01c0284d574cc5d70befa8

Contents?: true

Size: 322 Bytes

Versions: 39

Compression:

Stored size: 322 Bytes

Contents

module PandaCms
  class Current < ActiveSupport::CurrentAttributes
    attribute :root, :page
    attribute :user
    attribute :request_id, :user_agent, :ip_address

    # resets { Time.zone = nil }

    # def user=(user)
    # super
    # self.account = user.account
    # Time.zone = user.time_zone
    # end
  end
end

Version data entries

39 entries across 39 versions & 1 rubygems

Version Path
panda_cms-0.6.3 app/models/panda_cms/current.rb
panda_cms-0.6.2 app/models/panda_cms/current.rb
panda_cms-0.6.1 app/models/panda_cms/current.rb
panda_cms-0.6.0 app/models/panda_cms/current.rb
panda_cms-0.5.10 app/models/panda_cms/current.rb
panda_cms-0.5.9 app/models/panda_cms/current.rb
panda_cms-0.5.8 app/models/panda_cms/current.rb
panda_cms-0.5.7 app/models/panda_cms/current.rb
panda_cms-0.5.6 app/models/panda_cms/current.rb
panda_cms-0.5.5 app/models/panda_cms/current.rb
panda_cms-0.5.4 app/models/panda_cms/current.rb
panda_cms-0.5.3 app/models/panda_cms/current.rb
panda_cms-0.5.2 app/models/panda_cms/current.rb
panda_cms-0.5.1 app/models/panda_cms/current.rb
panda_cms-0.5.0 app/models/panda_cms/current.rb
panda_cms-0.3.15 app/models/panda_cms/current.rb
panda_cms-0.3.14 app/models/panda_cms/current.rb
panda_cms-0.3.13 app/models/panda_cms/current.rb
panda_cms-0.3.12 app/models/panda_cms/current.rb
panda_cms-0.3.11 app/models/panda_cms/current.rb