Add a dossiers_from_avis relation to Gestionnaire
This commit is contained in:
parent
4c0b273e97
commit
a050bc20de
1 changed files with 1 additions and 0 deletions
|
@ -10,6 +10,7 @@ class Gestionnaire < ActiveRecord::Base
|
|||
has_many :followed_dossiers, through: :follows, source: :dossier
|
||||
has_many :follows
|
||||
has_many :avis
|
||||
has_many :dossiers_from_avis, through: :avis, source: :dossier
|
||||
|
||||
include CredentialsSyncableConcern
|
||||
|
||||
|
|
Loading…
Reference in a new issue