Permalink
Browse files

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

…to mendelbenjamin/master
  • Loading branch information...
2 parents a151268 + 3e9679f commit 95a1e8f6446d6fc4af367cbf473cc5cccaf56445 @brendanlim committed Apr 2, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/mobilized_styles.rb
View
4 lib/mobilized_styles.rb
@@ -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

0 comments on commit 95a1e8f

Please sign in to comment.