From ba5b45997a7e0560f5698499ac9b8a47188e88de Mon Sep 17 00:00:00 2001 From: bohung Date: Sun, 8 Aug 2021 11:35:08 +0800 Subject: [PATCH] Fix bug. --- app/views/admin/announcements/_form_image.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/admin/announcements/_form_image.html.erb b/app/views/admin/announcements/_form_image.html.erb index 0520a41..de4a786 100644 --- a/app/views/admin/announcements/_form_image.html.erb +++ b/app/views/admin/announcements/_form_image.html.erb @@ -3,7 +3,7 @@
-
+
<% if form_image.file.file %> <%= image_tag form_image.file %>