From 787745956f13bb63c596ed80a53b386708b56508 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sat, 10 Dec 2022 12:27:28 -0500 Subject: Assets need to be precompiled --- rails/lib/lingo/engine.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'rails/lib') diff --git a/rails/lib/lingo/engine.rb b/rails/lib/lingo/engine.rb index 4275614..f2542a2 100644 --- a/rails/lib/lingo/engine.rb +++ b/rails/lib/lingo/engine.rb @@ -3,5 +3,9 @@ require 'haml' module Lingo class Engine < ::Rails::Engine isolate_namespace Lingo + + initializer "pokeviewer.assets" do |app| + app.config.assets.precompile += %w(lingo/header.png) + end end end -- cgit 1.4.1