From 489eb85e62adc46ed4bcf68b9b038d5e30694d51 Mon Sep 17 00:00:00 2001 From: pabois <pierreandre.boissinot@noesya.coop> Date: Mon, 3 Jul 2023 12:20:05 +0200 Subject: [PATCH] reorder includes --- app/models/user.rb | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/app/models/user.rb b/app/models/user.rb index 93a6c8fbf..e298ab38f 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -59,17 +59,16 @@ class User < ApplicationRecord # We don't include Sanitizable because too many complex attributes. # The sanitization is handled in User::WithAuthentication's sanitize_fields method. include WithAdminTheme + include WithAuthentication include WithAuthorship include WithAvatar include WithFavorites - # FIXME y a-t-il des couplages temporels qui justifient l'ordre ci-dessous ? - include WithRegistrationContext - include WithUniversity - include WithAuthentication include WithOmniauth include WithPerson + include WithRegistrationContext include WithRoles include WithSyncBetweenUniversities + include WithUniversity belongs_to :language -- GitLab