diff options
Diffstat (limited to 'core/controllers')
-rw-r--r-- | core/controllers/rest.php | 2 |
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); |