]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/site_controller.rb
Add some validations for i18n values
[rails.git] / app / controllers / site_controller.rb
index 9d9cf0f39578c78951c0aa4eb7632c452ab7f44f..a05fe376be5ae27a193244dade2fac409c9a169e 100644 (file)
@@ -140,7 +140,7 @@ class SiteController < ApplicationController
     elsif params[:relation]
       redirect_to relation_path(params[:relation])
     elsif params[:note]
-      redirect_to browse_note_path(params[:note])
+      redirect_to note_path(params[:note])
     elsif params[:query]
       redirect_to search_path(:query => params[:query])
     end