mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-19 19:09:13 -04:00
- 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:
@@ -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");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user