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

Add patch method to OC_Route

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