Link user and administrateur
This commit is contained in:
parent
8082751912
commit
81f44fa76b
4 changed files with 13 additions and 1 deletions
|
@ -18,6 +18,7 @@ class User < ApplicationRecord
|
|||
has_many :feedbacks, dependent: :destroy
|
||||
has_one :france_connect_information, dependent: :destroy
|
||||
belongs_to :instructeur
|
||||
belongs_to :administrateur
|
||||
|
||||
accepts_nested_attributes_for :france_connect_information
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue