Skip to content

Commit

Permalink
Merge pull request #7655 from steveklabnik/master
Browse files Browse the repository at this point in the history
fix the build
  • Loading branch information
rafaelfranca committed Sep 15, 2012
2 parents 1b7894c + b079f7a commit 3fb492f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions actionpack/lib/action_dispatch/http/cache.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ def not_modified?(modified_at)
end

def etag_matches?(etag)
etag = etag.gsub(/^\"|\"$/, "")
if_none_match_etags.include?(etag)
end

Expand Down

0 comments on commit 3fb492f

Please sign in to comment.