diff --git a/app/models/gestionnaire.rb b/app/models/gestionnaire.rb index 1b965373a..19df23207 100644 --- a/app/models/gestionnaire.rb +++ b/app/models/gestionnaire.rb @@ -7,8 +7,8 @@ class Gestionnaire < ActiveRecord::Base has_many :assign_to, dependent: :destroy has_many :procedures, -> { publiees_ou_archivees }, through: :assign_to has_many :dossiers, -> { state_not_brouillon }, through: :procedures - has_many :followed_dossiers, through: :follows, source: :dossier has_many :follows + has_many :followed_dossiers, through: :follows, source: :dossier has_many :avis has_many :dossiers_from_avis, through: :avis, source: :dossier