Sha256: 0a2091feaae807dbf2387c86e69bdde70b0fe3faf15768de53c7565f99386106

Contents?: true

Size: 196 Bytes

Versions: 20

Compression:

Stored size: 196 Bytes

Contents

class UserSession < Authlogic::Session::Base
  logout_on_timeout(Rails.env != 'development')

  before_destroy :unlock_pages

  def unlock_pages
    self.user.unlock_pages if self.user
  end

end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
alchemy_cms-2.0.7 app/models/user_session.rb
alchemy_cms-2.0.6.1 app/models/user_session.rb
alchemy_cms-2.0.5 app/models/user_session.rb
alchemy_cms-2.0.4 app/models/user_session.rb
alchemy_cms-2.0.3.1 app/models/user_session.rb
alchemy_cms-2.1.beta1 app/models/user_session.rb
alchemy_cms-2.0.3 app/models/user_session.rb
alchemy_cms-2.0.2 app/models/user_session.rb
alchemy_cms-2.0.1 app/models/user_session.rb
alchemy_cms-2.0 app/models/user_session.rb
alchemy_cms-2.0.rc6 app/models/user_session.rb
alchemy_cms-2.0.rc5 app/models/user_session.rb
alchemy_cms-2.0.rc4 app/models/user_session.rb
alchemy_cms-2.0.rc3 app/models/user_session.rb
alchemy_cms-2.0.rc2 app/models/user_session.rb
alchemy_cms-2.0.rc1 app/models/user_session.rb
alchemy_cms-2.0.pre5 app/models/user_session.rb
alchemy_cms-2.0.pre4 app/models/user_session.rb
alchemy_cms-2.0.pre3 app/models/user_session.rb
alchemy_cms-2.0.pre2 app/models/user_session.rb