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:
parent
93d41ec2f7
commit
229c688664
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue