Set the display name correctly in the image URL.
This commit is contained in:
parent
c1dc2410c3
commit
a0962c03c0
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
||||||
<h2><%= @title %></h2>
|
<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">
|
<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 -->
|
<tr><td>filename:</td><td><%= @trace.name %> (<%= link_to 'download', :controller => 'trace', :action => 'data', :id => @trace.id %>)</td></tr> <!-- TODO link to download -->
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue