From 122e638b7ec313fb0b2b1ac261c260af39c7d98e Mon Sep 17 00:00:00 2001 From: zmagod Date: Fri, 7 Apr 2017 15:01:26 +0200 Subject: [PATCH] adds input_sanitizer helper in app mailer [fixes SCI-1185] --- app/mailers/app_mailer.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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