require "bson" require "bson_ext/cbson" require "mongoid" require "haml" require "kaminari" require "mongoid_nested_set" require "mongoid_fulltext" require "simple_form" require "mongoid-ancestry" require "rack/cache" require "dragonfly" require "carrierwave" require "carrierwave/orm/mongoid" require "brick_layer/engine" require "brick_layer/extensions" require "brick_layer/serve_grid_fs_file" module BrickLayer mattr_accessor :app_root, :enable_pages, :data_sets_standalones, :basic_auth_user def self.setup Mongoid.config.preload_models = true yield self end end