Link AssignTo et GroupeInstructeur

This commit is contained in:
simon lehericey 2019-08-20 16:47:41 +02:00
parent 115d91387c
commit 97884c4349
6 changed files with 30 additions and 1 deletions

View file

@ -1,4 +1,6 @@
class GroupeInstructeur < ApplicationRecord
DEFAULT_LABEL = 'défaut'
belongs_to :procedure
has_many :assign_tos
has_many :instructeurs, through: :assign_tos
end