User: add has many relation to dossiers_invites

This commit is contained in:
simon lehericey 2018-04-03 10:48:46 +02:00
parent 508304a2bf
commit 0bff7abb0c

View file

@ -14,6 +14,7 @@ class User < ApplicationRecord
has_many :dossiers, dependent: :destroy
has_many :invites, dependent: :destroy
has_many :dossiers_invites, through: :invites, source: :dossier
has_many :piece_justificative, dependent: :destroy
has_many :cerfa, dependent: :destroy
has_one :france_connect_information, dependent: :destroy