Sha256: 325cd0ba9182c602b632412a0635638b0f3fe273bcc24f2b69241feae65d727d
Contents?: true
Size: 668 Bytes
Versions: 22
Compression:
Stored size: 668 Bytes
Contents
require 'rails' module Twitter module Bootswatch module Rails class Engine < ::Rails::Engine initializer 'twitter-bootswatch-rails.setup', :after => 'less-rails.after.load_config_initializers', :group => :all do |app| paths = %W[ #{File.join(config.root, 'vendor', 'toolkit')} ] paths.each do |p| app.config.assets.paths << p app.config.less.paths << p end end initializer 'twitter-bootswatch-rails.setup_helpers' do |app| app.config.to_prepare do end end end end end end
Version data entries
22 entries across 22 versions & 1 rubygems