diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2022-12-10 12:27:28 -0500 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2022-12-10 12:27:28 -0500 |
commit | 787745956f13bb63c596ed80a53b386708b56508 (patch) | |
tree | 1d0a9cd6e66eaf7a68f37e32ef87761d08d3e4b0 /rails/lib | |
parent | 1c81b5247d9359695e0e048844c003d3587e4d82 (diff) | |
download | lingo-787745956f13bb63c596ed80a53b386708b56508.tar.gz lingo-787745956f13bb63c596ed80a53b386708b56508.tar.bz2 lingo-787745956f13bb63c596ed80a53b386708b56508.zip |
Assets need to be precompiled
Diffstat (limited to 'rails/lib')
-rw-r--r-- | rails/lib/lingo/engine.rb | 4 |
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' | |||
3 | module Lingo | 3 | module 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 |
7 | end | 11 | end |