]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/notifier.rb
Fix expiry of cached diary views.
[rails.git] / app / models / notifier.rb
index 7fc276042c54817aec620fdd6ad47efe5c2457f4..1f3d39808ecafcfd29a56debb63fe9dfc925dc7d 100644 (file)
@@ -84,7 +84,7 @@ class Notifier < ActionMailer::Base
          :replyurl => url_for(:host => SERVER_URL,
                               :controller => "message",
                               :action => "new",
-                              :user_id => comment.user.id,
+                              :display_name => comment.user.display_name,
                               :title => "Re: #{comment.diary_entry.title}")
   end