From 293448fa36b0fc690671c9da440dd4dff22b9051 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Tue, 17 Oct 2023 17:20:56 -0400 Subject: Prettied up images sidebar in admin panel a bit --- app/views/admin/blogs/_form.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/views/admin/blogs') diff --git a/app/views/admin/blogs/_form.html.haml b/app/views/admin/blogs/_form.html.haml index c3720ba..f64ebe5 100644 --- a/app/views/admin/blogs/_form.html.haml +++ b/app/views/admin/blogs/_form.html.haml @@ -44,7 +44,7 @@ - f.object.images.each do |image| = image_tag image.variant(:thumb) = f.hidden_field :images, multiple: true, value: image.signed_id - %pre= url_for image + %pre= rails_blob_url(image) %hr = f.file_field :images, multiple: true .details-module= f.submit -- cgit 1.4.1