Skip to content
Snippets Groups Projects
Commit 35fae7aa authored by Thomas Tanghus's avatar Thomas Tanghus
Browse files

Add patch method to OC_Route

parent 50fc5e87
No related branches found
No related tags found
No related merge requests found
......@@ -51,6 +51,14 @@ class OC_Route extends Route {
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
*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment