Skip to content
This repository has been archived by the owner on Jun 10, 2018. It is now read-only.

Commit

Permalink
Shouldn't need to be case insensitive
Browse files Browse the repository at this point in the history
  • Loading branch information
josh committed Jun 17, 2011
1 parent e135b7d commit 3594173
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sprockets/caching.rb
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ def cache_set_asset(path, asset)
end

def strip_root(path)
path.sub(/^#{Regexp.escape(root)}\//i, '')
path.sub(root, '')
end
end
end

0 comments on commit 3594173

Please sign in to comment.