Skip to content

Commit

Permalink
Merge branch 'master' of git://github.com/mendelbenjamin/mobile-fu in…
Browse files Browse the repository at this point in the history
…to mendelbenjamin/master
  • Loading branch information
brendanlim committed Apr 2, 2010
2 parents a151268 + 3e9679f commit 95a1e8f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/mobilized_styles.rb
Expand Up @@ -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
Expand Down

0 comments on commit 95a1e8f

Please sign in to comment.