From a2f9f2f6df5fddf7cd366efd9d6e64264a6038e9 Mon Sep 17 00:00:00 2001 From: Brenda Wallace Date: Sat, 20 Apr 2019 19:56:23 +1200 Subject: [PATCH] Replace (revert back) to simple image_tag in photos#show so i don't need to update specs --- app/views/photos/show.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/photos/show.html.haml b/app/views/photos/show.html.haml index 2944e7f6b..3339e9dec 100644 --- a/app/views/photos/show.html.haml +++ b/app/views/photos/show.html.haml @@ -9,7 +9,7 @@ .row .col-md-8 - %p= render @photo + %p= image_tag(photo.fullsize_url, alt: photo.title, class: 'img img-responsive') .col-md-4 = render 'photos/actions', photo: @photo