Sha256: e531a6ca8e2cf15d9e20c4352919ca566a5d367d89572cc37b8ab9ba10e806a4

Contents?: true

Size: 714 Bytes

Versions: 5

Compression:

Stored size: 714 Bytes

Contents

module Dashing
  class Engine < ::Rails::Engine
    isolate_namespace Dashing

    config.assets.paths.unshift       Dashing::Engine.root.join('vendor', 'assets', 'fonts', 'dashing')
    config.assets.paths.unshift       Dashing::Engine.root.join('vendor', 'assets', 'javascripts', 'dashing')
    config.assets.paths.unshift       Dashing::Engine.root.join('vendor', 'assets', 'stylesheets', 'dashing')
    config.assets.paths.unshift       Dashing.config.widgets_js_path
    config.assets.paths.unshift       Dashing.config.widgets_css_path

    config.assets.precompile << /\.(?:svg|eot|woff|ttf)$/

    config.paths['app/views'].unshift Dashing::Engine.root.join('app', 'views', 'dashing', 'widgets')
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
dashing-rails-2.3.2 lib/dashing/engine.rb
dashing-rails-2.3.1 lib/dashing/engine.rb
dashing-rails-2.3.0 lib/dashing/engine.rb
dashing-rails-2.2.0 lib/dashing/engine.rb
dashing-rails-2.1.1 lib/dashing/engine.rb