Skip to content

Commit

Permalink
starts_with? -> start_with?
Browse files Browse the repository at this point in the history
  • Loading branch information
Caleb Land committed Jan 4, 2011
1 parent f0d037b commit 5a94dc3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/cloudfront_asset_host/css_rewriter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def rewrite_asset_link(asset_link, stylesheet_path)
end

def path_for_url(url, stylesheet_path)
if url.starts_with?('/')
if url.start_with?('/')
# absolute to public path
File.expand_path(File.join(Rails.public_path, url))
else
Expand All @@ -66,4 +66,4 @@ def stylesheets_to_rewrite
end

end
end
end

0 comments on commit 5a94dc3

Please sign in to comment.