Created
February 6, 2009 12:48
-
-
Save matthewrudy/59384 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Widgets::GeneralHelper | |
def stylesheets_include(options = {}) | |
set_minify | |
default_options = {:stylesheets => "all", :blueprint => false, :site_code => false, :ie => false} | |
stylesheets_options = default_options.merge(options) | |
raise Dir["#{Rails.root}/public/sites/#{site.site_code}/css/*"].to_yaml | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment