Sha256: d1d6922cc4ce0239c19ade4b9ddb3d19473e76e9ec9fd5af7fa531e773a49340

Contents?: true

Size: 546 Bytes

Versions: 16

Compression:

Stored size: 546 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

16 entries across 16 versions & 1 rubygems

Version Path
soapbox-0.3.1 app/models/member.rb
soapbox-0.3.0 app/models/member.rb
soapbox-0.2.24 app/models/member.rb
soapbox-0.2.23 app/models/member.rb
soapbox-0.2.21 app/models/member.rb
soapbox-0.2.20 app/models/member.rb
soapbox-0.2.18 app/models/member.rb
soapbox-0.2.16 app/models/member.rb
soapbox-0.2.15 app/models/member.rb
soapbox-0.2.14 app/models/member.rb
soapbox-0.2.12 app/models/member.rb
soapbox-0.2.11 app/models/member.rb
soapbox-0.2.10 app/models/member.rb
soapbox-0.2.9 app/models/member.rb
soapbox-0.2.8 app/models/member.rb
soapbox-0.2.7 app/models/member.rb