]> git.openstreetmap.org Git - rails.git/commitdiff
Set the display name correctly in the image URL.
authorTom Hughes <tom@compton.nu>
Mon, 20 Aug 2007 14:18:22 +0000 (14:18 +0000)
committerTom Hughes <tom@compton.nu>
Mon, 20 Aug 2007 14:18:22 +0000 (14:18 +0000)
app/views/trace/view.rhtml

index c486b6ef6302101d1f2c2efec5ed24588a933cdb..d907d7c88d44cd639ddbb6546ca1f25f7bd82d6e 100644 (file)
@@ -1,6 +1,6 @@
 <h2><%= @title %></h2>
 
-<img src="<%= url_for :controller => 'trace', :action => 'picture', :id => @trace.id, :user_login => @trace.user.display_name %>">
+<img src="<%= url_for :controller => 'trace', :action => 'picture', :id => @trace.id, :display_name => @trace.user.display_name %>">
 
 <table border="0">
   <tr><td>filename:</td><td><%= @trace.name %> (<%= link_to 'download', :controller => 'trace', :action => 'data', :id => @trace.id %>)</td></tr> <!-- TODO link to download -->