Sha256: fcddc87c64c82f5d0d2dd070683d9c8582429b901573c96eda296499cd3030b9
Contents?: true
Size: 689 Bytes
Versions: 4
Compression:
Stored size: 689 Bytes
Contents
require 'rails' module Toronto class Engine < ::Rails::Engine config.app_generators.stylesheets false initializer 'toronto.setup', group: :all do |app| app.config.less.paths << ::File.expand_path('../../vendor/twitter/bootstrap/less', __FILE__) if app.config.respond_to?(:less) app.config.assets.paths << ::File.expand_path('../../vendor/twitter/bootstrap/sass', __FILE__) if app.config.respond_to?(:sass) app.config.assets.paths << ::Rails.root.join('app', 'assets', 'fonts') app.config.assets.precompile << /\.(?:svg|eot|woff|woff2|ttf)$/ end end class Railtie < ::Rails::Railtie config.app_generators.template_engine :haml end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
toronto-0.0.4 | lib/toronto.rb |
toronto-0.0.3 | lib/toronto.rb |
toronto-0.0.2 | lib/toronto.rb |
toronto-0.0.1 | lib/toronto.rb |