]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/traces/edit.html.erb
Merge pull request #5056 from AntonKhorev/diary-og-description
[rails.git] / app / views / traces / edit.html.erb
index 809112d4b177bcf4397820f108cf2d6d1c26f02b..1c440adf25432440ac04b2f1dc330f137df66617 100644 (file)
@@ -2,7 +2,7 @@
   <h1><%= t ".heading", :name => @trace.name %></h1>
 <% end %>
 
-<%= image_tag trace_picture_path(@trace.user, @trace) %>
+<%= trace_picture(@trace) %>
 
 <%= bootstrap_form_for @trace do |f| %>
   <%= f.text_field :name, :disabled => true %>