Sha256: 6d2748819cba55e7aa4f8cc0a7b4af3436af64fcbae3f382826d7a8c4a12afbe

Contents?: true

Size: 555 Bytes

Versions: 11

Compression:

Stored size: 555 Bytes

Contents

class Member < ActiveRecord::Base
  # Include default devise modules. Others available are:
  # :token_authenticatable, :confirmable, :lockable and :timeoutable
  devise :database_authenticatable, :registerable,
         :recoverable, :rememberable, :trackable, :validatable

  # Setup accessible (or protected) attributes for your model
  attr_accessible :email, :password, :password_confirmation, :remember_me
  include Soapbox::Member if File.exists? "app/models/soapbox/member.rb"

  def after_sign_in_path_for(member)
    members_home_path
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
soapbox-0.2.6 app/models/member.rb
soapbox-0.2.5 app/models/member.rb
soapbox-0.2.4 app/models/member.rb
soapbox-0.2.3 app/models/member.rb
soapbox-0.2.2 app/models/member.rb
soapbox-0.2.1 app/models/member.rb
soapbox-0.2.0 app/models/member.rb
soapbox-0.1.7 app/models/member.rb
soapbox-0.1.3 app/models/member.rb
soapbox-0.1.2 app/models/member.rb
soapbox-0.1.1 app/models/member.rb