Sha256: 90c14627b403f2c31d28ceaeead72ece81090f5d50cea7dbafb245b29f4d2f6f
Contents?: true
Size: 345 Bytes
Versions: 1
Compression:
Stored size: 345 Bytes
Contents
module AssetPack class Engine < ::Rails::Engine isolate_namespace AssetPack initializer 'asset_pack.assets.precompile' do |app| app.config.assets.paths << Rails.root.join('app', 'assets', 'fonts') app.config.assets.precompile += %w[.svg .eot .woff .ttf] Mime::Type.register 'font/opentype', :font end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
interval-braining-ui-asset-pack-0.0.1 | lib/asset_pack/engine.rb |