lib/home_page/engine.rb in home_page-0.0.3 vs lib/home_page/engine.rb in home_page-0.0.4

- old
+ new

@@ -3,7 +3,13 @@ config.autoload_paths << File.expand_path("../../../app/models/concerns", __FILE__) config.autoload_paths << File.expand_path("../../../app/controllers/concerns", __FILE__) config.i18n.load_path += Dir[File.expand_path("../../../config/locales/**/*.{rb,yml}", __FILE__)] config.generators{|g| g.orm :active_record } + + config.to_prepare do + Rails.application.config.assets.precompile += %w( + home_page/* + ) + end end end