lib/active_admin/engine.rb in activeadmin-0.5.1 vs lib/active_admin/engine.rb in activeadmin-0.6.0
- old
+ new
@@ -1,8 +1,8 @@
module ActiveAdmin
class Engine < Rails::Engine
if Rails.version > "3.1"
- initializer "ActiveAdmin precompile hook" do |app|
+ initializer "ActiveAdmin precompile hook", :group => :all do |app|
app.config.assets.precompile += %w(active_admin.js active_admin.css active_admin/print.css)
end
end
end
end