Add total followers on dossier list and followers list on dossier page for gestionnaire
This commit is contained in:
parent
7d0bcfc35f
commit
127c9bb138
7 changed files with 82 additions and 27 deletions
|
@ -198,4 +198,8 @@ class Dossier < ActiveRecord::Base
|
|||
|
||||
update_attributes(autorisation_donnees: false)
|
||||
end
|
||||
|
||||
def total_follow
|
||||
follows.size
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue