X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/f7f2b7482d7bcfc7905746cee650ceb51c4e8e01..5fcedc1bf4e548f4995de77cfa953504567a651c:/app/views/site/index.rhtml diff --git a/app/views/site/index.rhtml b/app/views/site/index.rhtml index 486686fa5..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,80 +17,42 @@ <% zoom = params['zoom'] || '4' %> <% end %> - - - - + +<%= javascript_include_tag 'map.js' %>