Skip to content

Commit

Permalink
Explicitly precompile css and js
Browse files Browse the repository at this point in the history
  • Loading branch information
little9 committed Aug 1, 2019
1 parent 52d10d6 commit 0c3802b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/zizia/engine.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ module Zizia
class Engine < ::Rails::Engine
isolate_namespace Zizia

initializer 'zizia.assets.precompile' do |app|
app.config.assets.precompile += %w[*.js *.css]
end

initializer :append_migrations do |app|
unless app.root.to_s.match root.to_s
config.paths['db/migrate'].expanded.each do |expanded_path|
Expand Down

0 comments on commit 0c3802b

Please sign in to comment.