Browse files

Merge branch 'file_uploader'

  • Loading branch information...
2 parents 14acab3 + 6fe2b36 commit 389fc684e24c57f278e8c620c41189f3683895c2 @strix3000 strix3000 committed Feb 28, 2012
Showing with 2 additions and 0 deletions.
  1. +1 −0 app/views/uploads/index.html.erb
  2. +1 −0 app/views/uploads/user_uploads.html.erb
View
1 app/views/uploads/index.html.erb
@@ -25,6 +25,7 @@
<td><%= link_to 'add_to_favorite', add_upload_to_favorite_path(file) %></td>
<% end %>
<% end %>
+ <td><%= link_to "Download", file.file_url %></td>
</tr>
View
1 app/views/uploads/user_uploads.html.erb
@@ -21,6 +21,7 @@
<% else %>
<td><%= link_to 'Remove from favorite', delete_upload_from_favorite_path(file) %></td>
<% end %>
+ <td><%= link_to "Download", file.file_url %></td>
</tr>
<% end %>
<% else %>

0 comments on commit 389fc68

Please sign in to comment.