Sha256: 5de0a67d5c305c33924b697d244a17b065f035a8071375ca4d5c58520ca7dc6c
Contents?: true
Size: 578 Bytes
Versions: 2
Compression:
Stored size: 578 Bytes
Contents
# frozen_string_literal: true module Thredded class Engine < ::Rails::Engine isolate_namespace Thredded config.generators do |g| g.test_framework :rspec, fixture: true g.fixture_replacement :factory_bot, dir: 'spec/factories' g.helper false end config.to_prepare do Thredded::AllViewHooks.reset_instance! Thredded.user_class&.send(:include, Thredded::UserExtender) end initializer 'thredded.setup_assets' do Thredded::Engine.config.assets.precompile += %w[ thredded_manifest.js ] end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
thredded-1.1.0 | lib/thredded/engine.rb |
thredded-1.0.1 | lib/thredded/engine.rb |