delete links removed from album index

This commit is contained in:
danielvincent 2010-07-21 00:40:57 -07:00
parent aece0fc1c7
commit 5fc2dfa0bb

View file

@ -8,7 +8,3 @@
- for photo in post.photos
=link_to (image_tag photo.image.url(:thumb_large)), object_path(post)
- if mine?(post)
.destroy_link
= link_to 'Delete', object_path(post), :confirm => 'Are you sure?', :method => :delete, :remote => true