0
0

replace head? with patch?

This commit is contained in:
Gibheer 2012-11-13 07:47:49 +01:00
parent fccf1df912
commit 4990f5fb22

View File

@ -55,7 +55,7 @@ module Zero
def head?; @method == :head; end
# is the method 'PATCH'?
# @return true if this is a patch request
def head?; @method == :patch; end
def patch?; @method == :patch; end
private