diff options
Diffstat (limited to 'modules/comment')
-rw-r--r-- | modules/comment/controllers/comments.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/comment/controllers/comments.php b/modules/comment/controllers/comments.php index 511a8eda..e4825a78 100644 --- a/modules/comment/controllers/comments.php +++ b/modules/comment/controllers/comments.php @@ -103,7 +103,8 @@ class Comments_Controller extends REST_Controller { * @see Rest_Controller::_delete($resource) */ public function _delete($comment) { - rest::http_status(rest::METHOD_NOT_ALLOWED); + $comment->delete(); + rest::http_status(rest::OK); } /** |