]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/site_controller.rb
Refactor search JS
[rails.git] / app / controllers / site_controller.rb
index b1239d0daa5f16e493e46a2568144d3fbd4dbf07..3b0a19cf91d70d2c516076ca4ab71074fe1dc886 100644 (file)
@@ -42,7 +42,7 @@ class SiteController < ApplicationController
 
     new_params[:controller] = 'site'
     new_params[:action] = 'index'
-    new_params[:anchor] = "#{zoom}/#{lat}/#{lon}"
+    new_params[:anchor] = "map=#{zoom}/#{lat}/#{lon}"
 
     redirect_to new_params
   end