Add helpers for mailer footer styles
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
class ApplicationMailer < ActionMailer::Base
|
||||
helper :settings
|
||||
helper :application
|
||||
helper :mailer
|
||||
default from: proc { "#{Setting["mailer_from_name"]} <#{Setting["mailer_from_address"]}>" }
|
||||
layout "mailer"
|
||||
end
|
||||
|
||||
@@ -2,7 +2,6 @@ class Mailer < ApplicationMailer
|
||||
after_action :prevent_delivery_to_users_without_email
|
||||
|
||||
helper :text_with_links
|
||||
helper :mailer
|
||||
helper :users
|
||||
|
||||
def comment(comment)
|
||||
|
||||
Reference in New Issue
Block a user