Sha256: 0faedc6a838958ea52b59d5efde37260f08ab917407b9971b4d32542cc38d020

Contents?: true

Size: 800 Bytes

Versions: 4

Compression:

Stored size: 800 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'
        app.config.assets.precompile += %w(select.scss fileicons/*.png)
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
activeadmin_addons-0.10.1 lib/activeadmin_addons/engine.rb
activeadmin_addons-0.10.0 lib/activeadmin_addons/engine.rb
activeadmin_addons-0.9.3 lib/activeadmin_addons/engine.rb
activeadmin_addons-0.9.2 lib/activeadmin_addons/engine.rb