lib/active_admin/engine.rb in activeadmin-1.3.1 vs lib/active_admin/engine.rb in activeadmin-1.4.0

- old
+ new

@@ -1,6 +1,11 @@ module ActiveAdmin class Engine < ::Rails::Engine + initializer "active_admin.load_app_path" do |app| + ActiveAdmin::Application.setting :app_path, app.root + ActiveAdmin::Application.setting :load_paths, [File.expand_path('app/admin', app.root)] + end + initializer "active_admin.precompile", group: :all do |app| ActiveAdmin.application.stylesheets.each do |path, _| app.config.assets.precompile << path end ActiveAdmin.application.javascripts.each do |path|