Sha256: 9c7d176641bacf029cd895795c2e39394b7bbb6601b8cc0aa4426ddce3f63956

Contents?: true

Size: 696 Bytes

Versions: 15

Compression:

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

15 entries across 15 versions & 1 rubygems

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