Sha256: 7e894764853607dc5bbd911eb547f5baadfcc3bbcc1df96ef9a90726b1db1720
Contents?: true
Size: 657 Bytes
Versions: 22
Compression:
Stored size: 657 Bytes
Contents
module ViniBaxter module SpaLanding class Engine < ::Rails::Engine initializer 'spa_landing.setup' do |app| app.config.assets.precompile += Dir.glob(config.root + 'app/assets/images/spa_landing/**/*').select{ |f| File.file? f }.map { |m| "spa_landing/" + File.path(m).split("spa_landing/").last } end initializer 'spa_landing.sass' do |app| # Set the sass load paths app.config.sass.load_paths << File.join(config.root, "lib","viniBaxter", "sass") # Set the add spa_landing/lib/sass to assets path app.config.assets.paths << File.join(config.root, "lib","viniBaxter", "sass") end end end end
Version data entries
22 entries across 22 versions & 1 rubygems