Sha256: f9ce65de5b3c2005905e09097d2452eeb2a51a5d24ea695c5643091fdd175035

Contents?: true

Size: 473 Bytes

Versions: 3

Compression:

Stored size: 473 Bytes

Contents

module ActiveAdminAddons
  module Rails
    class Engine < ::Rails::Engine
      require "select2-rails"
      require "sass-rails"
      require "xdan-datetimepicker-rails"
      require "require_all"

      initializer "initialize addons" do |app|
        require_rel "support"
        require_rel "addons"
        require_rel "active_admin_config"
        app.config.assets.precompile += %w(select.scss fileicons/*.png switches/switch_*.png)
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
activeadmin_addons-1.5.0 lib/activeadmin_addons/engine.rb
activeadmin_addons-1.4.0 lib/activeadmin_addons/engine.rb
activeadmin_addons-1.3.0 lib/activeadmin_addons/engine.rb