]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/user/_contact.html.erb
Use leaflet css for print
[rails.git] / app / views / user / _contact.html.erb
index 82ca579d9fc9ac5aaa7958c9b91ebc45f48e8dd4..1a28c21bd925e558e9a7125fb92e70c84662b25d 100644 (file)
@@ -3,7 +3,7 @@
      user_data = {
        :lon => contact.home_lon,
        :lat => contact.home_lat,
      user_data = {
        :lon => contact.home_lon,
        :lat => contact.home_lat,
-       :icon => type == "friend" ? "marker-blue.png" : "marker-green.png",
+       :icon => image_path(type == "friend" ? "marker-blue.png" : "marker-green.png"),
        :description => render(:partial => "popup", :object => contact, :locals => {:type => type})
      }
   %>
        :description => render(:partial => "popup", :object => contact, :locals => {:type => type})
      }
   %>