Sha256: 081aa6a5c93b391e161c71af2c2fe36e88991276248132484335ac326071d343
Contents?: true
Size: 431 Bytes
Versions: 1
Compression:
Stored size: 431 Bytes
Contents
require 'active_admin' require 'mongoid' module ActiveAdmin module Mongoid end class << self alias setup_without_mongoid setup # Load monkey patches *after* the setup process def setup *args, &block setup_without_mongoid *args, &block require 'active_admin/mongoid/comments' require 'active_admin/mongoid/resource' require 'active_admin/mongoid/document' end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
activeadmin-mongoid-0.0.2.jpmckinney.0 | lib/active_admin/mongoid.rb |