From 2874329ace80249ef6da9ad83cd3dd5fe51f9a4d Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Mon, 20 May 2019 22:25:57 +0800 Subject: [PATCH] Update _form.html.erb --- app/views/admin/ad_images/_form.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/admin/ad_images/_form.html.erb b/app/views/admin/ad_images/_form.html.erb index 4e7db59..c700522 100644 --- a/app/views/admin/ad_images/_form.html.erb +++ b/app/views/admin/ad_images/_form.html.erb @@ -30,7 +30,7 @@
<% if @ad_image.file.file %> - <%= image_tag @ad_image.file %> + <%= image_tag @ad_image.file.url %> <% else %> <% end %>