From c370ab04d7482eb1b7d489c34067ab61fa528f3e Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Tue, 16 Jun 2020 17:01:58 +0200 Subject: [PATCH] Ensure images in /assets/images** are precompiled and moved correctly to /public/assets folder --- config/application.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/config/application.rb b/config/application.rb index 9f7e817999..d48b5d2b8b 100644 --- a/config/application.rb +++ b/config/application.rb @@ -160,6 +160,7 @@ module Openfoodnetwork config.assets.precompile += ['mail/all.css'] config.assets.precompile += ['shared/*'] config.assets.precompile += ['qz/*'] + config.assets.precompile += ['*.jpg', '*.jpeg', '*.png', '*.gif' '*.svg'] config.active_support.escape_html_entities_in_json = true end