mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-02 21:51:51 +08:00
Merge pull request #546 from ZmagoD/zd_SCI_1185
adds input_sanitizer helper in app mailer [fixes SCI-1185]
This commit is contained in:
commit
ccb6cd0c8c
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue