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:
parent
40c791be3d
commit
f738577cc8
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user