replace head? with patch?
This commit is contained in:
parent
fccf1df912
commit
4990f5fb22
@ -55,7 +55,7 @@ module Zero
|
|||||||
def head?; @method == :head; end
|
def head?; @method == :head; end
|
||||||
# is the method 'PATCH'?
|
# is the method 'PATCH'?
|
||||||
# @return true if this is a patch request
|
# @return true if this is a patch request
|
||||||
def head?; @method == :patch; end
|
def patch?; @method == :patch; end
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user