]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/notifier.rb
Use resourceful routing for message replies
[rails.git] / app / models / notifier.rb
index d08bedd8ca05a5c9f9d162a942248499a1b711bf..11658cfd9b55a4bbaa11833180fdf84e225d0328 100644 (file)
@@ -70,7 +70,7 @@ class Notifier < ActionMailer::Base
       @text = message.body
       @title = message.title
       @readurl = message_url(message)
-      @replyurl = reply_message_url(message)
+      @replyurl = message_reply_url(message)
       @author = @from_user
 
       attach_user_avatar(message.sender)