X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/dd1ec4eb9bd23c2e7d93451b41f3eda99ffb9f08..43bfebdd9e83685cbc999f46a3a88e85f9960cbc:/app/views/user/_contact.html.erb?ds=sidebyside diff --git a/app/views/user/_contact.html.erb b/app/views/user/_contact.html.erb index 82ca579d9..1a28c21bd 100644 --- a/app/views/user/_contact.html.erb +++ b/app/views/user/_contact.html.erb @@ -3,7 +3,7 @@ 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}) } %>