Sha256: a3c02893a770fe70f871a22855151dd0e6c4f414ba1bf11b698fb24f32ace227
Contents?: true
Size: 756 Bytes
Versions: 3
Compression:
Stored size: 756 Bytes
Contents
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| unless ActiveAdmin.application.use_webpacker ActiveAdmin.application.stylesheets.each do |path, _| app.config.assets.precompile << path end ActiveAdmin.application.javascripts.each do |path| app.config.assets.precompile << path end end end initializer "active_admin.routes" do require "active_admin/helpers/routes/url_helpers" end end end
Version data entries
3 entries across 3 versions & 2 rubygems