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
return
end
+ @extra_body_class = "site-edit-#{editor}"
+
if params[:node]
bbox = Node.find(params[:node]).bbox.to_unscaled
@lat = bbox.centre_lat