Link user and administrateur

This commit is contained in:
simon lehericey 2019-08-09 09:45:11 +02:00
parent 8082751912
commit 81f44fa76b
4 changed files with 13 additions and 1 deletions

View file

@ -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