10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b41450a commit 04f6e25Copy full SHA for 04f6e25
lib/active_admin/engine.rb
@@ -2,7 +2,12 @@ module ActiveAdmin
2
class Engine < ::Rails::Engine
3
if Rails.version > "3.1"
4
initializer "ActiveAdmin precompile hook", :group => :all do |app|
5
- app.config.assets.precompile += %w(active_admin.js active_admin.css active_admin/print.css)
+ ActiveAdmin.application.stylesheets.each do |path, _|
6
+ app.config.assets.precompile << path
7
+ end
8
+ ActiveAdmin.application.javascripts.each do |path|
9
10
11
end
12
13
0 commit comments