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