From: Tom Hughes Date: Tue, 29 Jun 2010 14:19:54 +0000 (+0100) Subject: Use the correct name for the interpolation variable X-Git-Tag: live~6258^2~26 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/6740cab85b28e808e12ec47785547eebce5f40fa?hp=2038cd52c65158a9b31299c62e4beb72c61a18b7 Use the correct name for the interpolation variable --- diff --git a/app/models/notifier.rb b/app/models/notifier.rb index f63d08b67..364463336 100644 --- a/app/models/notifier.rb +++ b/app/models/notifier.rb @@ -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,