- All comments of an item can now be seen /comments?item_id=

- Return proper Content-Type header for GET /comments requests
- Got rid of the query processing for index() in REST_Controller()
- Small misc fixes
This commit is contained in:
Jozef Selesi
2008-11-18 15:48:08 +00:00
parent d4fc15f76c
commit b63ea2cdbf
6 changed files with 45 additions and 26 deletions

View File

@@ -22,9 +22,9 @@ class Users_Controller extends REST_Controller {
/**
* Display comments based on criteria.
* @see Rest_Controller::_delete($resource)
* @see Rest_Controller::_index()
*/
public function _index($query) {
public function _index() {
throw new Exception("@todo Comment_Controller::_index NOT IMPLEMENTED");
}
@@ -36,9 +36,9 @@ class Users_Controller extends REST_Controller {
}
/**
* @see Rest_Controller::_show($resource, $format)
* @see Rest_Controller::_show($resource, $output_format)
*/
public function _show($user, $format) {
public function _show($user, $output_format) {
throw new Exception("@todo User_Controller::_show NOT IMPLEMENTED");
}