Link user and instructeur
This commit is contained in:
parent
e3fd1cc33a
commit
dd4ffb926c
4 changed files with 13 additions and 1 deletions
|
@ -17,6 +17,7 @@ class User < ApplicationRecord
|
|||
has_many :dossiers_invites, through: :invites, source: :dossier
|
||||
has_many :feedbacks, dependent: :destroy
|
||||
has_one :france_connect_information, dependent: :destroy
|
||||
belongs_to :instructeur
|
||||
|
||||
accepts_nested_attributes_for :france_connect_information
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue