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

  1. <% title "Photo" %>
  2. <p>
  3. <strong>Path:</strong>
  4. <%=h @photo.path %>
  5. </p>
  6. <p>
  7. <strong>Url:</strong>
  8. <%=h @photo.url %>
  9. </p>
  10. <p>
  11. <%= link_to "Edit", edit_photo_path(@photo) %> |
  12. <%= link_to "Destroy", @photo, :confirm => 'Are you sure?', :method => :delete %> |
  13. <%= link_to "View All", photos_path %>
  14. </p>