2021-01-20 13:45:05 +01:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2021-01-06 23:27:50 +01:00
|
|
|
class User < ApplicationRecord
|
|
|
|
# Include default devise modules. Others available are:
|
|
|
|
# :confirmable, :lockable, :timeoutable, :trackable and :omniauthable
|
|
|
|
devise :database_authenticatable, :trackable, :recoverable, :rememberable
|
|
|
|
|
|
|
|
def send_devise_notification(notification, *args)
|
|
|
|
devise_mailer.send(notification, self, *args).deliver_later
|
|
|
|
end
|
|
|
|
|
|
|
|
end
|