Sha256: edb7f4fc2b31d2b46e4339cb6de300c182a8086993d3ef8e327e953c8ea5e20a
Contents?: true
Size: 802 Bytes
Versions: 2
Compression:
Stored size: 802 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.paths['app/views'].unshift Dashing::Engine.root.join('app', 'views', 'dashing', 'widgets') initializer 'require dashing jobs' do Dir[Rails.root.join(Dashing.config.jobs_path, '**', '*.rb')].each { |file| require file } end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
dashing-rails-2.0.1 | lib/dashing/engine.rb |
dashing-rails-2.0.0 | lib/dashing/engine.rb |