lib/html5-boilerplate.rb in html5-boilerplate-0.1.7 vs lib/html5-boilerplate.rb in html5-boilerplate-0.2.0
- old
+ new
@@ -1,5 +1,10 @@
-Compass::Frameworks.register("html5-boilerplate", :path => "#{File.dirname(__FILE__)}/..")
\ No newline at end of file
+Compass::Frameworks.register("html5-boilerplate", :path => "#{File.dirname(__FILE__)}/..")
+
+if defined?(ActionController)
+ require File.join(File.dirname(__FILE__), 'app', 'helpers', 'html5_boilerplate_helper')
+ ActionController::Base.helper(Html5BoilerplateHelper)
+end