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.
 
 
 
 

16 lines
319 B

<% title "Photo" %>
<p>
<strong>Path:</strong>
<%=h @photo.path %>
</p>
<p>
<strong>Url:</strong>
<%=h @photo.url %>
</p>
<p>
<%= link_to "Edit", edit_photo_path(@photo) %> |
<%= link_to "Destroy", @photo, :confirm => 'Are you sure?', :method => :delete %> |
<%= link_to "View All", photos_path %>
</p>