diff --git a/app/mailers/user_mailer.rb b/app/mailers/user_mailer.rb index 6025e3b..02c490e 100644 --- a/app/mailers/user_mailer.rb +++ b/app/mailers/user_mailer.rb @@ -17,8 +17,8 @@ mail(to: @user.email, subject: I18n.t('helpers.main_email.access_removed')) end - def api_token_granted_notification(user) - @user = user - mail(to: @user.email, subject: I18n.t('helper.api_mail_subject') - end + def api_token_granted_notification(user) + @user = user + mail(to: @user.email, subject: I18n.t('helper.api_mail_subject')) + end end \ No newline at end of file