Permalink
Browse files

Change initializer's group to :all to ensure it to be executed on bot…

…h initialize_on_precompile = true and false. Refs #1192
  • Loading branch information...
1 parent 7e607ef commit 9d53fcb9d9f8587e96bef56440d233a35dbac90e @mshibuya mshibuya committed Jun 18, 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", :group => :assets do |app|
+ initializer "RailsAdmin precompile hook", :group => :all 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 9d53fcb

Please sign in to comment.