lib/fcfinder/engine.rb in fcfinder-0.1.1 vs lib/fcfinder/engine.rb in fcfinder-1.0.0
- old
+ new
@@ -1,4 +1,12 @@
module Fcfinder
- class Engine < Rails::Engine
+ class Engine < ::Rails::Engine
+ initializer "fcfinder.assets.precompile" do |app|
+ #app.config.assets.precompile += %w(../../vendor/assets/fcfinder/*)
+ #app.config.assets.precompile += %w(../vendor/assets/images/fcfinder/*)
+ #app.config.assets.precompile += %w(fcfinder.css.erb)
+ app.config.assets.precompile += %w(assets/images/fcfinder/*)
+ app.config.assets.precompile += %w(fcfinder.css)
+ app.config.assets.precompile += %w(fcfinder.js)
+ end
end
-end
\ No newline at end of file
+end