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

Version Path
viniBaxter-spa_landing-32.0.0 lib/viniBaxter/spa_landing/engine.rb
viniBaxter-spa_landing-31.0.0 lib/viniBaxter/spa_landing/engine.rb
viniBaxter-spa_landing-20.0.1 lib/viniBaxter/spa_landing/engine.rb
viniBaxter-spa_landing-15.0.2 lib/viniBaxter/spa_landing/engine.rb
viniBaxter-spa_landing-15.0.1.alpha lib/viniBaxter/spa_landing/engine.rb
viniBaxter-spa_landing-15.0.0 lib/viniBaxter/spa_landing/engine.rb
viniBaxter-spa_landing-14 lib/viniBaxter/spa_landing/engine.rb
viniBaxter-spa_landing-13.8 lib/viniBaxter/spa_landing/engine.rb
viniBaxter-spa_landing-13.7 lib/viniBaxter/spa_landing/engine.rb
viniBaxter-spa_landing-13.6 lib/viniBaxter/spa_landing/engine.rb
viniBaxter-spa_landing-13.4 lib/viniBaxter/spa_landing/engine.rb
viniBaxter-spa_landing-13.3 lib/viniBaxter/spa_landing/engine.rb
viniBaxter-spa_landing-13.2 lib/viniBaxter/spa_landing/engine.rb
viniBaxter-spa_landing-13.1 lib/viniBaxter/spa_landing/engine.rb
viniBaxter-spa_landing-11 lib/viniBaxter/spa_landing/engine.rb
viniBaxter-spa_landing-10.0 lib/viniBaxter/spa_landing/engine.rb
viniBaxter-spa_landing-0.9 lib/viniBaxter/spa_landing/engine.rb
viniBaxter-spa_landing-0.6.0 lib/viniBaxter/spa_landing/engine.rb
viniBaxter-spa_landing-0.4.0 lib/viniBaxter/spa_landing/engine.rb
viniBaxter-spa_landing-0.3.0 lib/viniBaxter/spa_landing/engine.rb