Sha256: 8cac50384daea7320a7fea3a9e89a3f964a06b7071dad1fcd9db6914e065e04d

Contents?: true

Size: 382 Bytes

Versions: 2

Compression:

Stored size: 382 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::BaseController.send :include, ActiveAdminSidebar::Positions
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
active_admin_sidebar-1.0.0 lib/active_admin_sidebar.rb
active_admin_sidebar-0.1.0.rc3 lib/active_admin_sidebar.rb