diff --git a/app/mailers/app_mailer.rb b/app/mailers/app_mailer.rb index 3bb30f0e5..2da65a0e6 100644 --- a/app/mailers/app_mailer.rb +++ b/app/mailers/app_mailer.rb @@ -1,9 +1,9 @@ class AppMailer < Devise::Mailer - helper :application, :mailer + helper :application, :mailer, :input_sanitize include Devise::Controllers::UrlHelpers default template_path: 'users/mailer' - default from: ENV["MAIL_FROM"] - default reply: ENV["MAIL_REPLYTO"] + default from: ENV['MAIL_FROM'] + default reply: ENV['MAIL_REPLYTO'] def notification(user, notification, opts = {}) @user = user