|
@@ -1,7 +1,7 @@
|
|
|
class User < ApplicationRecord
|
|
|
# Include default devise modules. Others available are:
|
|
|
# :confirmable, :lockable, :timeoutable and :omniauthable
|
|
|
- devise :masqueradable, :database_authenticatable, :registerable, :recoverable, :rememberable, :trackable, :validatable, :omniauthable
|
|
|
+ devise :masqueradable, :database_authenticatable, :registerable, :recoverable, :rememberable, :validatable, :omniauthable
|
|
|
|
|
|
has_many :notifications, foreign_key: :recipient_id
|
|
|
has_many :services
|