From 2c6beff36f7f6dcdae657be7fd013efa462f4c97 Mon Sep 17 00:00:00 2001 From: Harry Bomrah Date: Mon, 20 May 2019 22:20:23 +0800 Subject: [PATCH] Update show.html.erb --- app/views/admin/ad_banners/show.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/admin/ad_banners/show.html.erb b/app/views/admin/ad_banners/show.html.erb index fae4048..c03e6a9 100644 --- a/app/views/admin/ad_banners/show.html.erb +++ b/app/views/admin/ad_banners/show.html.erb @@ -51,7 +51,7 @@ <% @images.each do |image| %> - <%= image_tag image.file.thumb, :class => "banner-image" %> + <%= image_tag image.file.thumb.url, :class => "banner-image" %> <%= image.title rescue "" %>