Use the correct name for the interpolation variable
This commit is contained in:
parent
2038cd52c6
commit
6740cab85b
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ class Notifier < ActionMailer::Base
|
|||
def message_notification(message)
|
||||
common_headers message.recipient
|
||||
from_header message.sender.display_name, "m", message.id, message.digest
|
||||
subject I18n.t('notifier.message_notification.subject_header', :user => message.title, :locale => locale)
|
||||
subject I18n.t('notifier.message_notification.subject_header', :subject => message.title, :locale => locale)
|
||||
body :to_user => message.recipient.display_name,
|
||||
:from_user => message.sender.display_name,
|
||||
:body => message.body,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue