Sha256: 7613e76bad6bdf8892dac9b08782c33ecea68c5e496b65efa7f3e0ab0f120e01

Contents?: true

Size: 847 Bytes

Versions: 2

Compression:

Stored size: 847 Bytes

Contents

module ActiveAdminAddons
  module Rails
    class Engine < ::Rails::Engine
      require 'select2-rails'
      require 'xdan-datetimepicker-rails'

      initializer "initialize addons" do |app|
        require_relative './support/custom_builder'
        require_relative './addons/bool_values'
        require_relative './addons/paperclip_image'
        require_relative './addons/paperclip_attachment'
        require_relative './addons/enum_tag'
        require_relative './addons/state_values'
        require_relative './addons/number'
        require_relative './addons/list'
        require_relative './support/enumerize_formtastic_support'
        require_relative './support/set_datepicker'
        require_relative 'active_admin_config'
        app.config.assets.precompile += %w(select.scss fileicons/*.png)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
activeadmin_addons-0.12.0 lib/activeadmin_addons/engine.rb
activeadmin_addons-0.11.0 lib/activeadmin_addons/engine.rb