An accompagnateur can be mark a dossier follow by us
This commit is contained in:
parent
5ba88aa31a
commit
d26ae9539d
17 changed files with 256 additions and 36 deletions
6
app/models/follow.rb
Normal file
6
app/models/follow.rb
Normal file
|
@ -0,0 +1,6 @@
|
|||
class Follow < ActiveRecord::Base
|
||||
belongs_to :gestionnaire
|
||||
belongs_to :dossier
|
||||
|
||||
validates_uniqueness_of :gestionnaire_id, :scope => :dossier_id
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue