]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/notifier.rb
Make the message reply link prefill the title with "Re: original title".
[rails.git] / app / models / notifier.rb
index bc4db6477ecc1c4295199b2d83b51ca6e456674a..f934a8bde42a6a95939fd81c7ea2495cb8018f42 100644 (file)
@@ -59,8 +59,8 @@ class Notifier < ActionMailer::Base
                              :controller => "message", :action => "read",
                              :message_id => message.id),
          :replyurl => url_for(:host => SERVER_URL,
-                              :controller => "message", :action => "new",
-                              :user_id => message.from_user_id)
+                              :controller => "message", :action => "reply",
+                              :message_id => message.id)
   end
 
   def friend_notification(friend)