Basis of rails driven photo website with a Flash uploader
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
|
|
<% title "Photos" %>
<table> <tr> <th>Path</th> <th>Url</th> </tr> <% for photo in @photos %> <tr> <td><%=h photo.path %></td> <td><%=h photo.url %></td> <td><%= link_to "Show", photo %></td> <td><%= link_to "Edit", edit_photo_path(photo) %></td> <td><%= link_to "Destroy", photo, :confirm => 'Are you sure?', :method => :delete %></td> </tr> <% end %> </table>
<p><%= link_to "New Photo", new_photo_path %></p>
|