diff --git a/app/models/expert.rb b/app/models/expert.rb index 9564353cb..2e10b049e 100644 --- a/app/models/expert.rb +++ b/app/models/expert.rb @@ -8,4 +8,8 @@ # class Expert < ApplicationRecord has_one :user + + def email + user.email + end end