Sha256: fec6481cea36734d37d0926e7242070527cb23ac191786a2c2fa290e312a2007

Contents?: true

Size: 476 Bytes

Versions: 3

Compression:

Stored size: 476 Bytes

Contents

require "active_admin"
require "active_admin_sidebar/version"
require "active_admin_sidebar/activeadmin_views_pages_base"
require "active_admin_sidebar/positions"

module ActiveAdminSidebar
  module Rails
    class Engine < ::Rails::Engine
      config.after_initialize do
        ActiveAdmin::Views::Pages::Base.prepend ActiveAdminSidebar::ActiveAdminViewsPagesBase
        ActiveAdmin::BaseController.send :include, ActiveAdminSidebar::Positions
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
active_admin_sidebar-2.0.0 lib/active_admin_sidebar.rb
active_admin_sidebar-1.2.0 lib/active_admin_sidebar.rb
active_admin_sidebar-1.1.0 lib/active_admin_sidebar.rb