Sha256: 8f95b9fb275b0a9f56c54d6c834b79dca4633bff695022ad89eea0a2940fa89c
Contents?: true
Size: 857 Bytes
Versions: 20
Compression:
Stored size: 857 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 include Hydra::RoleManagement::UserRoles # 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
20 entries across 20 versions & 1 rubygems