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.3.10 app/models/panda_cms/current.rb
panda_cms-0.3.9 app/models/panda_cms/current.rb
panda_cms-0.3.8 app/models/panda_cms/current.rb
panda_cms-0.3.7 app/models/panda_cms/current.rb
panda_cms-0.3.6 app/models/panda_cms/current.rb
panda_cms-0.3.5 app/models/panda_cms/current.rb
panda_cms-0.3.4 app/models/panda_cms/current.rb
panda_cms-0.3.3 app/models/panda_cms/current.rb
panda_cms-0.3.2 app/models/panda_cms/current.rb
panda_cms-0.3.1 app/models/panda_cms/current.rb
panda_cms-0.3.0 app/models/panda_cms/current.rb
panda_cms-0.2.7 app/models/panda_cms/current.rb
panda_cms-0.2.6 app/models/panda_cms/current.rb
panda_cms-0.2.5 app/models/panda_cms/current.rb
panda_cms-0.2.4 app/models/panda_cms/current.rb
panda_cms-0.2.3 app/models/panda_cms/current.rb
panda_cms-0.2.2 app/models/panda_cms/current.rb
panda_cms-0.2.1 app/models/panda_cms/current.rb
panda_cms-0.2.0 app/models/panda_cms/current.rb