Use the correct name for the interpolation variable

This commit is contained in:
Tom Hughes 2010-06-29 15:19:54 +01:00
parent 2038cd52c6
commit 6740cab85b

View file

@ -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,