Permalink
Browse files

Merge branch 'master' of github.com:redlinesoftware/css_asset_tagger

  • Loading branch information...
2 parents 0dd7671 + 2ced49a commit 60fc51f995115c31f48ebc2e800d70d04573ba63 @akaspick akaspick committed Aug 2, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/css_asset_tagger.rb
View
@@ -17,7 +17,7 @@ def self.tag(paths, logger = nil)
else
# if the first char is a / then get the path of the file with respect to the absolute path of the asset files
# otherwise get the path relative to the current file
- path = (uri.first == '/' ? "#{CssAssetTaggerOptions.asset_path}#{uri}" : "#{File.dirname(file)}/#{uri}")
+ path = (uri.chars.first == '/' ? "#{CssAssetTaggerOptions.asset_path}#{uri}" : "#{File.dirname(file)}/#{uri}")
begin
# construct the uri with the associated asset query string

0 comments on commit 60fc51f

Please sign in to comment.