Sha256: 3561979fd45903b60dc4ee1a5927823eb74202bf1019281a01f8cef695b99e79

Contents?: true

Size: 358 Bytes

Versions: 8

Compression:

Stored size: 358 Bytes

Contents

require 'rails/engine'

#
module ActiveAdmin
  #
  module Reform
    # Need engine to be absolutely sure active admin is already loaded, and run all it's hooks
    class Engine < Rails::Engine
      initializer 'activeadmin-reform' do
        require 'active_admin'
        require_relative 'dsl'
        require_relative 'forms'
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
activeadmin-reform-1.1.0 lib/active_admin/reform/engine.rb
activeadmin-reform-1.0.0 lib/active_admin/reform/engine.rb
activeadmin-reform-0.6.0 lib/active_admin/reform/engine.rb
activeadmin-reform-0.5.0 lib/active_admin/reform/engine.rb
activeadmin-reform-0.4.0 lib/active_admin/reform/engine.rb
activeadmin-reform-0.1.4 lib/active_admin/reform/engine.rb
activeadmin-reform-0.1.2 lib/active_admin/reform/engine.rb
activeadmin-reform-0.1.1 lib/active_admin/reform/engine.rb