Fix for add_template_helper being removed without announcement

Explained at: https://stackoverflow.com/questions/65528227/the-method-add-template-helper-does-not-seem-to-work-in-rails-6-1
This commit is contained in:
Eric Schultz 2021-01-05 16:54:51 -06:00 committed by Eric Schultz
parent 93d41ec2f7
commit 229c688664

View file

@ -5,7 +5,8 @@
class BaseMailer < ActionMailer::Base
include Roadie::Rails::Automatic
include Devise::Controllers::UrlHelpers
add_template_helper(ApplicationHelper)
include ApplicationHelper
helper ApplicationHelper
default from: Houdini.support_email
layout 'email'
end