Sha256: 986a953c7e9e6009a06e17d7b06d313d0c92da504305c888f70206619f70f245
Contents?: true
Size: 654 Bytes
Versions: 10
Compression:
Stored size: 654 Bytes
Contents
module Woo class Engine < ::Rails::Engine isolate_namespace Woo config.generators do |g| g.test_framework :rspec, :fixture => false g.fixture_replacement :factory_girl, :dir => 'spec/factories' g.assets false g.helper false end config.woo = ActiveSupport::OrderedOptions.new config.woo.stylesheets = %w(woo/application application) config.woo.javascripts = %w(woo/application application) initializer 'precompile custom assets' do |app| app.config.assets.precompile += app.config.woo.stylesheets app.config.assets.precompile += app.config.woo.javascripts end end end
Version data entries
10 entries across 10 versions & 1 rubygems