Include application_helper in ApplicationMailer

fixes a crash in activate_before_expiration.haml (sentry RAILS-40)
This commit is contained in:
Nicolas Bouilleaud 2019-06-21 09:50:33 +02:00
parent 14980c3be1
commit 44b9a2ef12

View file

@ -1,4 +1,5 @@
class ApplicationMailer < ActionMailer::Base class ApplicationMailer < ActionMailer::Base
helper :application # gives access to all helpers defined within `application_helper`.
default from: "demarches-simplifiees.fr <#{CONTACT_EMAIL}>" default from: "demarches-simplifiees.fr <#{CONTACT_EMAIL}>"
layout 'mailer' layout 'mailer'
end end