diff --git a/app/mailers/user_mailer.rb b/app/mailers/user_mailer.rb index 681679b..90c6278 100644 --- a/app/mailers/user_mailer.rb +++ b/app/mailers/user_mailer.rb @@ -3,6 +3,7 @@ def sharing_notification(role, user) @role = role + @user = user FastGettext.with_locale FastGettext.default_locale do mail(to: @role.user.email, subject: _("You have been given access to a Data Management Plan"))