change email to display for expert
This commit is contained in:
parent
e7945594cf
commit
328c2a8e3c
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ class Avis < ApplicationRecord
|
|||
end
|
||||
|
||||
def email_to_display
|
||||
instructeur&.email || email
|
||||
expert&.email
|
||||
end
|
||||
|
||||
def self.link_avis_to_instructeur(instructeur)
|
||||
|
|
Loading…
Add table
Reference in a new issue