]> git.openstreetmap.org Git - rails.git/blobdiff - app/helpers/issues_helper.rb
Move browse#note to notes#show
[rails.git] / app / helpers / issues_helper.rb
index e6c1adb16437ce2cefe33722155028b7d8f1c903..dcec4990b0df077c13dd8cc6331fc7df85f9b2eb 100644 (file)
@@ -8,7 +8,7 @@ module IssuesHelper
     when DiaryComment
       diary_entry_url(reportable.diary_entry.user, reportable.diary_entry, :anchor => "comment#{reportable.id}")
     when Note
-      url_for(:controller => :browse, :action => :note, :id => reportable.id)
+      note_url(reportable)
     end
   end