From f738577cc84e65b0362dda4986f0bba5524d235e Mon Sep 17 00:00:00 2001 From: Dan Barber Date: Mon, 8 Apr 2013 17:13:51 +0100 Subject: [PATCH] Remove show link from photos. --- app/views/admin/photos/_photo.html.haml | 1 - 1 file changed, 1 deletion(-) diff --git a/app/views/admin/photos/_photo.html.haml b/app/views/admin/photos/_photo.html.haml index 5e27625..76087c1 100644 --- a/app/views/admin/photos/_photo.html.haml +++ b/app/views/admin/photos/_photo.html.haml @@ -1,6 +1,5 @@ .photo = link_to image_tag(photo.photo.url(:size5), :title => photo.title), photo.photo.url .actions - = link_to 'Show', [:admin, photo] = link_to 'Edit', edit_admin_photo_path(photo) = link_to 'Destroy', [:admin, photo], confirm: 'Are you sure?', method: :delete