Sha256: 71bc6b58d954dd7861de5665b83820933bf0c0314265fd76422eb6bcacfdcdfa
Contents?: true
Size: 653 Bytes
Versions: 11
Compression:
Stored size: 653 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! if Thredded.user_class Thredded.user_class.send(:include, Thredded::UserExtender) end end initializer 'thredded.setup_assets' do Thredded::Engine.config.assets.precompile += %w[ thredded.js thredded.css thredded/*.svg ] end end end
Version data entries
11 entries across 11 versions & 2 rubygems