Permalink
Browse files

reset commit -file uploads bug fix,by Alex-

  • Loading branch information...
1 parent a3ef90e commit 54c4cab971b3eeb4487b5fb6604fd23ea66776e1 @strix3000 strix3000 committed Mar 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/views/uploads/index.html.erb
@@ -13,7 +13,7 @@
<tr>
<td><%= file.name %></td>
<td><%= file.description %></td>
- <td><%= link_to "#{file.user_id}", file.user %></td>
+ <td><%= link_to "#{file.user.username}", file.user %></td>
<td><%= link_to 'Show', file %></td>
<td><%= link_to 'Edit', edit_upload_path(file) %></td>

0 comments on commit 54c4cab

Please sign in to comment.