mirror of
https://github.com/discourse/discourse.git
synced 2025-03-03 09:49:42 +00:00
allow header_instructions to be passed in to message builder
This commit is contained in:
parent
94e9be3b88
commit
85a59c632d
@ -30,7 +30,7 @@ module Email
|
||||
}.merge!(@opts)
|
||||
|
||||
if @template_args[:url].present?
|
||||
@template_args[:header_instructions] = I18n.t('user_notifications.header_instructions', @template_args)
|
||||
@template_args[:header_instructions] ||= I18n.t('user_notifications.header_instructions', @template_args)
|
||||
|
||||
if @opts[:include_respond_instructions] == false
|
||||
@template_args[:respond_instructions] = ''
|
||||
|
Loading…
x
Reference in New Issue
Block a user