Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit 9d53fcb9d9f8587e96bef56440d233a35dbac90e 1 parent 7e607ef
@mshibuya mshibuya authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/rails_admin/engine.rb
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.