Sha256: 78140040dc21147cba76d94f25b6496a6a4f6ac267079e5c102715de4a080f89
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_girl, 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 & 1 rubygems