Redirect short links properly
This commit is contained in:
parent
04fbc71a40
commit
99c48285df
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue