Sha256: a3a463ee0768257952c0113a8bd6514d31d8852d012a02b0cc0345e52c53fde0
Contents?: true
Size: 683 Bytes
Versions: 28
Compression:
Stored size: 683 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| 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 initializer 'active_admin.routes' do require 'active_admin/helpers/routes/url_helpers' end end end
Version data entries
28 entries across 28 versions & 3 rubygems