Sha256: 5dbb658f7b46fa5c478f3a29a4878b03e7a4d83b9d503870ecf64c06e72a5269
Contents?: true
Size: 759 Bytes
Versions: 4
Compression:
Stored size: 759 Bytes
Contents
require "head_start/version" require "compass" extension_path = File.expand_path(File.join(File.dirname(__FILE__), "..")) Compass::Frameworks.register('head_start', :path => extension_path) require 'head_start/helpers/head_start_rails_helper' module HeadStart # allows us to run compass command-line without it complaining about uninitialized constant Rails if defined?(Rails) class Engine < ::Rails::Engine initializer "head_start.view_helpers" do ActionView::Base.send :include, ::HeadStartRailsHelper end initializer 'head_start.precompile_assets', :after => "sprockets.environment" do |app| Rails.application.config.assets.precompile += %w(modernizr.js layouts/*.js layouts *.css) end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
head_start-0.1.4 | lib/head_start.rb |
head_start-0.1.3 | lib/head_start.rb |
head_start-0.1.2 | lib/head_start.rb |
head_start-0.1.1 | lib/head_start.rb |