Sha256: ec643c391101ebfbfc6ce42056f808f16488327d43fcefd0cceda1c211701e8d

Contents?: true

Size: 443 Bytes

Versions: 3

Compression:

Stored size: 443 Bytes

Contents

module ExtYarn
  class Engine < ::Rails::Engine
    initializer 'ext_yarn.append_assets_path' do |app|
      %w(
        vendor
        vendor/bootstrap-sass/assets/javascripts
        vendor/bootstrap-sass/assets/stylesheets
        vendor/font-awesome-sass/assets/fonts
        vendor/font-awesome-sass/assets/stylesheets
      ).each do |assets_dir|
        app.config.assets.paths << root.join(assets_dir).to_s
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ext_yarn-0.6.0 lib/ext_yarn/engine.rb
ext_yarn-0.5.0 lib/ext_yarn/engine.rb
ext_yarn-0.4.0 lib/ext_yarn/engine.rb