]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/notifier.rb
Use the correct name for the interpolation variable
[rails.git] / 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
-    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,