]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user/account.html.erb
Use named routes in note RSS builder
[rails.git] / app / views / user / account.html.erb
index 80c8c0e49a9b36de2547185a017991861daf523f..6745f1b34fe248c18afac2d8cca5dac7c0db36a7 100644 (file)
       <% content_for :head do %>
         <%= javascript_include_tag "user" %>
       <% end %>
-      <%
-         home = @user.home_lat && @user.home_lon
-         data = {
-           :lon => @user.home_lon || 0,
-           :lat => @user.home_lat || 20,
-           :zoom => home ? 12 : 1,
-           :marker => !!home
-         }
-      %>
-      <%= content_tag "div", "", :id => "map", :class => "user_map set_location", :data => data %>
+      <%= content_tag "div", "", :id => "map", :class => "user_map set_location" %>
     </td>
   </tr>