Add patch method to OC_Route

remotes/origin/stable6
Thomas Tanghus 13 years ago
parent 50fc5e8792
commit 35fae7aaf8
  1. 8
      lib/route.php

@ -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
*

Loading…
Cancel
Save