Sha256: bbc0301a6f92c67e333652a82e65694f18495e299d1d2853da1fa2868f3f0824

Contents?: true

Size: 637 Bytes

Versions: 1

Compression:

Stored size: 637 Bytes

Contents

require "rails"

module ActiveAdminVersioning
  class Engine < ::Rails::Engine
    config.after_initialize do
      require "active_admin_versioning/extension/application"
      require "active_admin_versioning/extension/dsl"
      require "active_admin_versioning/extension/resource_controller"
      require "active_admin_versioning/extension/paper_trail"

      ::ActiveAdmin::Application.send :prepend, ActiveAdminVersioning::Extension::Application
      ::ActiveAdmin::DSL.send :include, ActiveAdminVersioning::Extension::DSL
      ::PaperTrail::Version.send :include, ActiveAdminVersioning::Extension::PaperTrail
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
active_admin_versioning-0.1.0 lib/active_admin_versioning/engine.rb