Include application_helper in ApplicationMailer
fixes a crash in activate_before_expiration.haml (sentry RAILS-40)
This commit is contained in:
parent
14980c3be1
commit
44b9a2ef12
1 changed files with 1 additions and 0 deletions
|
@ -1,4 +1,5 @@
|
|||
class ApplicationMailer < ActionMailer::Base
|
||||
helper :application # gives access to all helpers defined within `application_helper`.
|
||||
default from: "demarches-simplifiees.fr <#{CONTACT_EMAIL}>"
|
||||
layout 'mailer'
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue