Skip to content
This repository
Browse code

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 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 lib/mobilized_styles.rb
4 lib/mobilized_styles.rb
@@ -59,8 +59,8 @@ def stylesheet_link_tag_with_mobilization(*sources)
59 59 mobilized_sources << source
60 60
61 61 for possible_source in possible_sources
62   - path = File.join(ActionView::Helpers::AssetTagHelper::STYLESHEETS_DIR,"#{possible_source}.css")
63   - sass_path = File.join(ActionView::Helpers::AssetTagHelper::STYLESHEETS_DIR,"sass","#{possible_source}.sass")
  62 + path = File.join(config.stylesheets_dir,"#{possible_source}.css")
  63 + sass_path = File.join(config.stylesheets_dir,"sass","#{possible_source}.sass")
64 64 mobilized_sources << possible_source if File.exist?(path) || File.exist?(sass_path)
65 65 end
66 66 end

0 comments on commit 95a1e8f

Please sign in to comment.
Something went wrong with that request. Please try again.