From 5fc2dfa0bb047244746c888e85a3ec462adafe61 Mon Sep 17 00:00:00 2001 From: danielvincent Date: Wed, 21 Jul 2010 00:40:57 -0700 Subject: [PATCH] delete links removed from album index --- app/views/albums/_album.html.haml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/views/albums/_album.html.haml b/app/views/albums/_album.html.haml index 680182d2d..981849d63 100644 --- a/app/views/albums/_album.html.haml +++ b/app/views/albums/_album.html.haml @@ -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