]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user/view.html.erb
Include a user URL in JSON and XML responses
[rails.git] / app / views / user / view.html.erb
index 6eed09c505537bd10cbc7201175ddd7e66ee36dc..04fc4cb3b09346184981d3f27aca73108949fcaf 100644 (file)
       user_data = {
         :lon => @user.home_lon,
         :lat => @user.home_lat,
       user_data = {
         :lon => @user.home_lon,
         :lat => @user.home_lat,
-        :icon => "marker.png",
+        :icon => image_path("marker-red.png"),
         :description => render(:partial => "popup", :object => @user, :locals => {:type => "your location"})
       }
     %>
         :description => render(:partial => "popup", :object => @user, :locals => {:type => "your location"})
       }
     %>