Sha256: 50475d1c36c550fd928c4d93f76e01702ce836a2b107126231969f3d8d193f10

Contents?: true

Size: 337 Bytes

Versions: 11

Compression:

Stored size: 337 Bytes

Contents

# frozen_string_literal: true

class User < ApplicationRecord
  # Include default devise modules. Others available are:
  # :confirmable, :lockable, :timeoutable, :trackable and :omniauthable
  devise :database_authenticatable, :registerable,
         :recoverable, :rememberable, :validatable

  def mr_common_admin?
    true
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
mr_common-2.1.0 spec/dummy/app/models/user.rb
mr_common-2.0.0 spec/dummy/app/models/user.rb
mr_common-1.3.0 spec/dummy/app/models/user.rb
mr_common-1.2.0 spec/dummy/app/models/user.rb
mr_common-1.1.0 spec/dummy/app/models/user.rb
mr_common-1.0.5 spec/dummy/app/models/user.rb
mr_common-1.0.4 spec/dummy/app/models/user.rb
mr_common-1.0.3 spec/dummy/app/models/user.rb
mr_common-1.0.2 spec/dummy/app/models/user.rb
mr_common-1.0.1 spec/dummy/app/models/user.rb
mr_common-1.0.0 spec/dummy/app/models/user.rb