Sha256: 67e1064fa2199ace37203f56458983a5d60f70fd8ae7dc1f1c53514bf5d10fa4

Contents?: true

Size: 334 Bytes

Versions: 2

Compression:

Stored size: 334 Bytes

Contents

class <%= user_class.capitalize %> < ActiveRecord::Base
  # Include default devise modules. Others available are:
  # :confirmable, :lockable, :timeoutable and :omniauthable
  devise :database_authenticatable, :registerable,
         :recoverable, :rememberable, :trackable, :validatable
  include DeviseTokenAuth::Concerns::User
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
devise_token_auth-0.1.43 lib/generators/devise_token_auth/templates/user.rb
digix_devise_token_auth-0.1.44 lib/generators/devise_token_auth/templates/user.rb