Sha256: cbda02a225b607a1da040a673f3ab75e31f228b1b038245cf2897e8ca26faabb
Contents?: true
Size: 857 Bytes
Versions: 14
Compression:
Stored size: 857 Bytes
Contents
require 'rails' require File.dirname(__FILE__) + '/../../../app/helpers/flash_block_helper.rb' require File.dirname(__FILE__) + '/../../../app/helpers/glyph_helper.rb' require File.dirname(__FILE__) + '/../../../app/helpers/social_glyph_helper.rb' module Groundworkcss module Rails class Engine < ::Rails::Engine initializer 'groundworkcss-rails.setup', :after => 'less-rails.after.load_config_initializers', :group => :all do |app| if defined?(Less) app.config.less.paths << File.join(config.root, 'vendor', 'toolkit') end end initializer 'groundworkcss-rails.setup_helpers' do |app| app.config.to_prepare do ActionController::Base.send :helper, FlashBlockHelper ActionController::Base.send :helper, GlyphHelper ActionController::Base.send :helper, SocialGlyphHelper end end end end end
Version data entries
14 entries across 14 versions & 1 rubygems