From 99c48285df6fc306504b4cf9c12547bd5af6bee7 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Tue, 6 Aug 2013 10:58:54 +0100 Subject: [PATCH] Redirect short links properly --- app/controllers/site_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.43.2