delete links removed from album index
This commit is contained in:
parent
aece0fc1c7
commit
5fc2dfa0bb
1 changed files with 0 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue