1
0
mirror of https://github.com/danbee/danbarberphoto synced 2025-03-04 08:49:07 +00:00

Remove show link from photos.

This commit is contained in:
Dan Barber 2013-04-08 17:13:51 +01:00
parent 40c791be3d
commit f738577cc8

View File

@ -1,6 +1,5 @@
.photo .photo
= link_to image_tag(photo.photo.url(:size5), :title => photo.title), photo.photo.url = link_to image_tag(photo.photo.url(:size5), :title => photo.title), photo.photo.url
.actions .actions
= link_to 'Show', [:admin, photo]
= link_to 'Edit', edit_admin_photo_path(photo) = link_to 'Edit', edit_admin_photo_path(photo)
= link_to 'Destroy', [:admin, photo], confirm: 'Are you sure?', method: :delete = link_to 'Destroy', [:admin, photo], confirm: 'Are you sure?', method: :delete