Sha256: 4a2158e2d78a5c50c23ee07e25222f74390cfbb21b45dfc978e27f5d881a1156

Contents?: true

Size: 697 Bytes

Versions: 8

Compression:

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

  # 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

8 entries across 8 versions & 1 rubygems

Version Path
hyrax-5.1.0.pre.beta1 .koppie/app/models/user.rb
hyrax-5.0.4 .koppie/app/models/user.rb
hyrax-5.0.3 .koppie/app/models/user.rb
hyrax-5.0.2 .koppie/app/models/user.rb
hyrax-5.0.1 .koppie/app/models/user.rb
hyrax-5.0.0 .koppie/app/models/user.rb
hyrax-5.0.0.rc3 .koppie/app/models/user.rb
hyrax-5.0.0.rc2 .koppie/app/models/user.rb