@ -19,6 +19,21 @@ class OC_Route extends Route {
return $this;
}
public function get() {
$this->method('get');
public function put() {
$this->method('put');
public function delete() {
$this->method('delete');
public function defaults($defaults) {
$action = $this->getDefault('action');
$this->setDefaults($defaults);