summaryrefslogtreecommitdiff
path: root/core/controllers/rest.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/controllers/rest.php')
-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 f307f86a..f0a2b341 100644
--- a/core/controllers/rest.php
+++ b/core/controllers/rest.php
@@ -74,7 +74,7 @@ abstract class REST_Controller extends Controller {
return;
}
- switch ($this->input->post("__action")) {
+ switch ($this->input->post("_method")) {
case "put":
return $this->_put($resource);