diff --git a/app/views/albums/show.html.haml b/app/views/albums/show.html.haml index 2102044c4..fce96ad90 100644 --- a/app/views/albums/show.html.haml +++ b/app/views/albums/show.html.haml @@ -3,7 +3,8 @@ - for photo in @album_photos = link_to (image_tag photo.image.url(:thumb_medium)), object_path(photo) -%p - = link_to "Destroy", @album, :confirm => 'Are you sure?', :method => :delete +-if mine? @album + %p + = link_to "Destroy", @album, :confirm => 'Are you sure?', :method => :delete | = link_to "View All", albums_path