summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--core/controllers/rest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/controllers/rest.php b/core/controllers/rest.php
index aee4f527..82262f3b 100644
--- a/core/controllers/rest.php
+++ b/core/controllers/rest.php
@@ -77,7 +77,7 @@ abstract class REST_Controller extends Controller {
return;
}
- switch ($this->input->post("_method")) {
+ switch ($this->input->post("_method", $this->input->get("_method"))) {
case "put":
return $this->_put($resource);