]> git.openstreetmap.org Git - rails.git/blobdiff - app/mailers/user_mailer.rb
Move browse#note to notes#show
[rails.git] / app / mailers / user_mailer.rb
index 33fcc7465a6fb8a056448032556dbf7c577b0b7c..c5c0118e6f8b395da0569c7f12b040bd341f5ffc 100644 (file)
@@ -123,7 +123,7 @@ class UserMailer < ApplicationMailer
 
   def note_comment_notification(comment, recipient)
     with_recipient_locale recipient do
-      @noteurl = browse_note_url(comment.note)
+      @noteurl = note_url(comment.note)
       @place = Nominatim.describe_location(comment.note.lat, comment.note.lon, 14, I18n.locale)
       @comment = comment.body
       @owner = recipient == comment.note.author