summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2022-12-10 12:27:28 -0500
committerStar Rauchenberger <fefferburbia@gmail.com>2022-12-10 12:27:28 -0500
commit787745956f13bb63c596ed80a53b386708b56508 (patch)
tree1d0a9cd6e66eaf7a68f37e32ef87761d08d3e4b0
parent1c81b5247d9359695e0e048844c003d3587e4d82 (diff)
downloadlingo-787745956f13bb63c596ed80a53b386708b56508.tar.gz
lingo-787745956f13bb63c596ed80a53b386708b56508.tar.bz2
lingo-787745956f13bb63c596ed80a53b386708b56508.zip
Assets need to be precompiled
-rw-r--r--rails/lib/lingo/engine.rb4
1 files changed, 4 insertions, 0 deletions
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'
3module Lingo 3module Lingo
4 class Engine < ::Rails::Engine 4 class Engine < ::Rails::Engine
5 isolate_namespace Lingo 5 isolate_namespace Lingo
6
7 initializer "pokeviewer.assets" do |app|
8 app.config.assets.precompile += %w(lingo/header.png)
9 end
6 end 10 end
7end 11end