An accompagnateur can be mark a dossier follow by us

This commit is contained in:
Xavier J 2016-07-18 18:24:29 +02:00
parent 5ba88aa31a
commit d26ae9539d
17 changed files with 256 additions and 36 deletions

6
app/models/follow.rb Normal file
View file

@ -0,0 +1,6 @@
class Follow < ActiveRecord::Base
belongs_to :gestionnaire
belongs_to :dossier
validates_uniqueness_of :gestionnaire_id, :scope => :dossier_id
end