X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/f9d714dfd36fa56ced4c0a99a6e59c945ff89cca..c6cde2653b8dbcd3345348b33619b2240f1cc905:/app/controllers/site_controller.rb diff --git a/app/controllers/site_controller.rb b/app/controllers/site_controller.rb index b1239d0da..3b0a19cf9 100644 --- a/app/controllers/site_controller.rb +++ b/app/controllers/site_controller.rb @@ -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