X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/cbf2dea6117de3eeff2966b9034b0ad6144fe379..91461927d44f68ad2dc10eccaaa2d3b9ce1d6f12:/app/views/site/index.rhtml?ds=sidebyside diff --git a/app/views/site/index.rhtml b/app/views/site/index.rhtml index 35b913979..15683daf3 100644 --- a/app/views/site/index.rhtml +++ b/app/views/site/index.rhtml @@ -7,10 +7,6 @@ <% lon = params['mlon'] %> <% lat = params['mlat'] %> <% zoom = params['zoom'] || '12' %> - <% elsif @user and params['lon'].nil? and params['lat'].nil? %> <% lon = @user.home_lon %> <% lat = @user.home_lat %> @@ -21,88 +17,42 @@ <% zoom = params['zoom'] || '4' %> <% end %> - - - - + +<%= javascript_include_tag 'map.js' %>