Permalink
Browse files

Trigger asset precompile hook even if initialize_on_precompile is set…

… to false
  • Loading branch information...
1 parent 76b3412 commit 152dc34b6cd73a54cc739a3074a006ffed918dc4 @amacneil amacneil committed May 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/rails_admin/engine.rb
@@ -11,7 +11,7 @@
module RailsAdmin
class Engine < Rails::Engine
isolate_namespace RailsAdmin
- initializer "RailsAdmin precompile hook" do |app|
+ initializer "RailsAdmin precompile hook", :group => :assets do |app|
app.config.assets.precompile += ['rails_admin/rails_admin.js', 'rails_admin/rails_admin.css', 'rails_admin/jquery.colorpicker.js', 'rails_admin/jquery.colorpicker.css']
end

0 comments on commit 152dc34

Please sign in to comment.