Sha256: 13db5646cc515423278da8b592eaf125d2574bf52432b9f5451d887f047b4eb0

Contents?: true

Size: 449 Bytes

Versions: 5

Compression:

Stored size: 449 Bytes

Contents

module Foundation
  class Engine < Rails::Engine
    # auto wire assets
    initializer 'foundation.update_asset_paths' do |app|
      app.config.assets.paths << File.expand_path("../../../scss", __FILE__)
      app.config.assets.paths << File.expand_path("../../../js", __FILE__)

      # Ensure Zepto and Modernizr are precompiled in production
      app.config.assets.precompile += %w(vendor/zepto.js vendor/custom.modernizr.js)
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
zurb-foundation-4.0.3 lib/foundation/engine.rb
zurb-foundation-4.0.2 lib/foundation/engine.rb
zurb-foundation-4.0.1 lib/foundation/engine.rb
zurb-foundation-4.0.0 lib/foundation/engine.rb
zurb-foundation-4.0.0.rc1 lib/foundation/engine.rb