Add patch method to OC_Route
This commit is contained in:
parent
bdad7697ac
commit
cd2e1d0cfe
|
@ -51,6 +51,14 @@ class OC_Route extends Route {
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Specify PATCH as the method to use with this route
|
||||||
|
*/
|
||||||
|
public function patch() {
|
||||||
|
$this->method('PATCH');
|
||||||
|
return $this;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Defaults to use for this route
|
* Defaults to use for this route
|
||||||
*
|
*
|
||||||
|
|
Loading…
Reference in New Issue