Add total followers on dossier list and followers list on dossier page for gestionnaire

This commit is contained in:
Xavier J 2016-07-19 16:44:26 +02:00
parent 7d0bcfc35f
commit 127c9bb138
7 changed files with 82 additions and 27 deletions

View file

@ -198,4 +198,8 @@ class Dossier < ActiveRecord::Base
update_attributes(autorisation_donnees: false)
end
def total_follow
follows.size
end
end