Sha256: bb7b5456c165c737dd06270879d6cdac41776910762c066220866a3d10acf36c
Contents?: true
Size: 810 Bytes
Versions: 6
Compression:
Stored size: 810 Bytes
Contents
class User < ApplicationRecord # Connects this user object to Hydra behaviors. include Hydra::User # Connects this user object to Hyrax behaviors. include Hyrax::User include Hyrax::UserUsageStats if Blacklight::Utils.needs_attr_accessible? attr_accessible :email, :password, :password_confirmation end # Connects this user object to Blacklights Bookmarks. include Blacklight::User # Include default devise modules. Others available are: # :confirmable, :lockable, :timeoutable, :trackable and :omniauthable devise :database_authenticatable, :registerable, :recoverable, :rememberable, :validatable # Method added by Blacklight; Blacklight uses #to_s on your # user class to get a user-displayable login/identifier for # the account. def to_s email end end
Version data entries
6 entries across 6 versions & 1 rubygems