parent
f1f0c76d13
commit
2724f4667b
2 changed files with 4 additions and 4 deletions
|
@ -2,6 +2,6 @@ class GroupeInstructeur < ApplicationRecord
|
|||
DEFAULT_LABEL = 'défaut'
|
||||
belongs_to :procedure
|
||||
has_many :assign_tos
|
||||
has_many :instructeurs, through: :assign_tos
|
||||
has_many :instructeurs, through: :assign_tos, dependent: :destroy
|
||||
has_many :dossiers
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue