Gestionnaire procedures though administrateur and dossiers through procedures
This commit is contained in:
parent
de356ae0ab
commit
3effa5e9fd
2 changed files with 5 additions and 0 deletions
|
@ -5,4 +5,7 @@ class Gestionnaire < ActiveRecord::Base
|
|||
:recoverable, :rememberable, :trackable, :validatable
|
||||
|
||||
belongs_to :administrateur
|
||||
|
||||
has_many :procedures, through: :administrateur
|
||||
has_many :dossiers, through: :procedures
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue