229c688664
Explained at: https://stackoverflow.com/questions/65528227/the-method-add-template-helper-does-not-seem-to-work-in-rails-6-1
12 lines
406 B
Ruby
12 lines
406 B
Ruby
# frozen_string_literal: true
|
|
|
|
# License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later
|
|
# Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE
|
|
class BaseMailer < ActionMailer::Base
|
|
include Roadie::Rails::Automatic
|
|
include Devise::Controllers::UrlHelpers
|
|
include ApplicationHelper
|
|
helper ApplicationHelper
|
|
default from: Houdini.support_email
|
|
layout 'email'
|
|
end
|