lib/effective_regions/engine.rb in effective_regions-1.8.0 vs lib/effective_regions/engine.rb in effective_regions-1.8.1
- old
+ new
@@ -21,7 +21,11 @@
# Set up our default configuration options.
initializer "effective_regions.defaults", :before => :load_config_initializers do |app|
eval File.read("#{config.root}/config/effective_regions.rb")
end
+ initializer "effective_regions.append_precompiled_assets" do |app|
+ Rails.application.config.assets.precompile += ['ck_assets.js', 'ck_assets.css']
+ end
+
end
end