mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-28 10:43:53 -04:00
Add output formats to our REST controllers. Add support for JSON and
XML to the comment controllers as a proof of concept. It's not fully baked; we should examine ways to create helpers to make this process easier.
This commit is contained in:
@@ -30,9 +30,9 @@ class User_Controller extends REST_Controller {
|
||||
}
|
||||
|
||||
/**
|
||||
* @see Rest_Controller::_get($resource)
|
||||
* @see Rest_Controller::_get($resource, $format)
|
||||
*/
|
||||
public function _get($user) {
|
||||
public function _get($user, $format) {
|
||||
throw new Exception("@todo User_Controller::_get NOT IMPLEMENTED");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user