1
0
Fork 0
forked from OpenNeo/impress

add react.js to precompile list

This commit is contained in:
Emi Matchu 2014-01-20 14:18:30 -06:00
parent 00841e45d2
commit 7928514342

View file

@ -51,6 +51,7 @@ module OpenneoImpressItems
config.assets.version = '1.0'
config.assets.paths << Rails.root.join('app', 'assets', 'fonts')
config.assets.precompile << '*.js'
config.assets.precompile += %w( react.js )
config.assets.initialize_on_precompile = false
config.middleware.insert_after ActionDispatch::Flash, Rack::Attack