Sha256: 55689267c6c5cb40edf787c4bb2ef04f74e7c491a0c1809d0c50ec76c7546152

Contents?: true

Size: 378 Bytes

Versions: 5

Compression:

Stored size: 378 Bytes

Contents

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

5 entries across 5 versions & 2 rubygems

Version Path
mongoid-forums-1.0.6 lib/mongoid_forums/engine.rb
ack-mongoid-forums-1.0.6.1 lib/mongoid_forums/engine.rb
ack-mongoid-forums-1.0.6 lib/mongoid_forums/engine.rb
ack-mongoid-forums-1.0.5 lib/mongoid_forums/engine.rb
mongoid-forums-1.0.4 lib/mongoid_forums/engine.rb