]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/traces/show.html.erb
Merge remote-tracking branch 'upstream/pull/5286'
[rails.git] / app / views / traces / show.html.erb
index def928da57bc56d604bbc759f92ee1c64ce42284..63adf15729c5aaa662d2f4f3d111b6d4d00de5c7 100644 (file)
@@ -4,7 +4,7 @@
 
 <% if Settings.status != "gpx_offline" %>
   <% if @trace.inserted %>
-    <%= image_tag trace_picture_path(@trace.user, @trace) %>
+    <%= trace_picture(@trace) %>
   <% else %>
     <span class="text-danger"><%= t ".pending" %></span>
   <% end %>