Permalink
Browse files

remove unused view

  • Loading branch information...
1 parent 398202c commit 18c4f4422d43600243c38f4e25cda92dc85adf2b @strix3000 strix3000 committed Mar 26, 2012
Showing with 0 additions and 35 deletions.
  1. +0 −35 app/views/uploads/user_uploads.html.erb
@@ -1,35 +0,0 @@
-<h1>Listing Uploads</h1>
-
-<table>
- <tr>
- <th>Filename</th>
- <th>Description</th>
- <th></th>
- <th></th>
- <th></th>
- </tr>
-<% if @files %>
-<% @files.each do |file| %>
- <tr>
- <td><%= file.name %></td>
- <td><%= file.description %></td>
- <td><%= link_to 'Show', file %></td>
- <td><%= link_to 'Edit', edit_upload_path(file) %></td>
- <% if file.user?(current_user) %>
- <td><%= link_to 'Destroy file', file, method: :delete %></td>
- <% 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 %>
- <tr>
- <td>No files found for <%= current_user.username %></td>
- <tr>
-<% end %>
-
-</table>
-
-<br />
- <td><%= link_to 'New', new_upload_path %></td>

0 comments on commit 18c4f44

Please sign in to comment.