Sha256: 25bbd618699924d28ba97bd9f0b8725c7eb703b5db57a00e693b84d82aee15b2
Contents?: true
Size: 360 Bytes
Versions: 3
Compression:
Stored size: 360 Bytes
Contents
module Panda module CMS 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 end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
panda-cms-0.7.3 | app/models/panda/cms/current.rb |
panda-cms-0.7.2 | app/models/panda/cms/current.rb |
panda-cms-0.7.0 | app/models/panda/cms/current.rb |