]> git.openstreetmap.org Git - rails.git/commitdiff
Use the correct name for the interpolation variable
authorTom Hughes <tom@compton.nu>
Tue, 29 Jun 2010 14:19:54 +0000 (15:19 +0100)
committerTom Hughes <tom@compton.nu>
Tue, 29 Jun 2010 14:19:54 +0000 (15:19 +0100)
app/models/notifier.rb

index f63d08b67abc4bda9ea779f2d68633610398573c..3644633365545cf6ef877815b6af2ff564827044 100644 (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
   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,
     body :to_user => message.recipient.display_name,
          :from_user => message.sender.display_name,
          :body => message.body,