Sha256: d5f517cc031f04815292974ec45ba7e0f3532697aae6b6a7a82923ccba7fcef2

Contents?: true

Size: 442 Bytes

Versions: 9

Compression:

Stored size: 442 Bytes

Contents

module Thredded
  class Engine < ::Rails::Engine
    isolate_namespace Thredded

    config.autoload_paths << File.expand_path('../../../app/decorators', __FILE__)

    config.generators do |g|
      g.test_framework :rspec, fixture: true
      g.fixture_replacement :factory_girl, dir: 'spec/factories'
      g.helper false
    end

    config.to_prepare do
      Thredded.user_class.send(:include, Thredded::UserExtender)
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
thredded-0.0.12 lib/thredded/engine.rb
thredded-0.0.10 lib/thredded/engine.rb
thredded-0.0.9 lib/thredded/engine.rb
thredded-0.0.8 lib/thredded/engine.rb
thredded-0.0.7 lib/thredded/engine.rb
thredded-0.0.6 lib/thredded/engine.rb
thredded-0.0.5 lib/thredded/engine.rb
thredded-0.0.4 lib/thredded/engine.rb
thredded-0.0.3 lib/thredded/engine.rb