Sha256: 0287d0fb76006a2491f37e000e42739948accb29537a3b4ed514cc8c4cd557bf
Contents?: true
Size: 414 Bytes
Versions: 2
Compression:
Stored size: 414 Bytes
Contents
require "mongoid" require 'devise' require 'simple_form' require 'kaminari' module MongoidForums class Engine < ::Rails::Engine isolate_namespace MongoidForums class << self attr_accessor :root def root @root ||= Pathname.new(File.expand_path('../../../', __FILE__)) end end config.to_prepare do Decorators.register! Engine.root, Rails.root end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
mongoid-forums-1.0.3 | lib/mongoid_forums/engine.rb |
mongoid-forums-1.0.2 | lib/mongoid_forums/engine.rb |