]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/index.html.erb
Replace use of Layer.GML with Layer.Vector
[rails.git] / app / views / site / index.html.erb
index 0bbf66e1557ab43473e81c88b05f8048dc4eacb9..a74c7b356032433cad85a6726fd69108f48f5b14 100644 (file)
@@ -1,6 +1,6 @@
 <% if @user and !@user.home_lon.nil? and !@user.home_lat.nil? %>
   <% content_for :greeting do %>
-    <%= link_to t("layouts.home"), "#", :class => "set_position", "data-lat" => @user.home_lat, "data-lon" => @user.home_lon, "data-zoom" => 15, :title => t("layouts.home_tooltip") %> |
+    <%= link_to t("layouts.home"), "#", :class => "set_position", :data => { :lat => @user.home_lat, :lon => @user.home_lon, :zoom => 15 }, :title => t("layouts.home_tooltip") %> |
   <% end %>
 <% end %>