]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/index.rhtml
Back out attempt to commit partial support for POIs as this is not at
[rails.git] / app / views / site / index.rhtml
index 27bcd618e34a1b173add177bc00cc469748f4341..604ecdb326a97659ab584eeec9d080992825f62c 100644 (file)
@@ -51,7 +51,7 @@ by the OpenStreetMap project and it's contributors.
 <% zoom =  h(params['zoom'] || '12') %>
 <% layers = h(params['layers']) %>
 <% elsif cookies.key?("location") %>
-<% lon,lat,zoom,layers = cookies["location"].value.first.split(",") %>
+<% lon,lat,zoom,layers = cookies["location"].split(",") %>
 <% elsif @user and !@user.home_lon.nil? and !@user.home_lat.nil? %> 
 <% lon =  @user.home_lon %>
 <% lat =  @user.home_lat %>