Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

7 lines (5 sloc) 0.336 kb
# Include hook code here
require File.dirname(__FILE__)+"/lib/harsh.rb"
ActionView::Base.send(:include, Harsh::ErbMethods)
harsh_sheets = Dir.entries(Rails.root.join('public', 'stylesheets', 'harsh')).reject {|s| s =~ /^\./}.map {|s| "harsh/"+s}
ActionView::Helpers::AssetTagHelper.register_stylesheet_expansion :harsh => harsh_sheets
Jump to Line
Something went wrong with that request. Please try again.