Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge branch 'master' of git://github.com/mendelbenjamin/mobile-fu in…

…to mendelbenjamin/master
  • Loading branch information...
commit 95a1e8f6446d6fc4af367cbf473cc5cccaf56445 2 parents a151268 + 3e9679f
Brendan G. Lim authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/mobilized_styles.rb
4 lib/mobilized_styles.rb
View
@@ -59,8 +59,8 @@ def stylesheet_link_tag_with_mobilization(*sources)
mobilized_sources << source
for possible_source in possible_sources
- path = File.join(ActionView::Helpers::AssetTagHelper::STYLESHEETS_DIR,"#{possible_source}.css")
- sass_path = File.join(ActionView::Helpers::AssetTagHelper::STYLESHEETS_DIR,"sass","#{possible_source}.sass")
+ path = File.join(config.stylesheets_dir,"#{possible_source}.css")
+ sass_path = File.join(config.stylesheets_dir,"sass","#{possible_source}.sass")
mobilized_sources << possible_source if File.exist?(path) || File.exist?(sass_path)
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.