diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2008-11-11 07:29:48 +0000 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2008-11-11 07:29:48 +0000 |
| commit | 87f1115113f36b197003a45f32f295bb4cd19891 (patch) | |
| tree | 59859acf700871f1b20e2e1e04f53911b7573363 /core/controllers/album.php | |
| parent | d35f337b7bc719ed0a4534ca835abbfa46d24a18 (diff) | |
Change REST API to use non-routable functions: _get(), _post(),
_put(), _delete().
This should make it more obvious that these are not your typical
routes, simplifies overall routing by removing a rule and removes the
possibility of accidentally leaking information if we route to one of
them by accident.
Diffstat (limited to 'core/controllers/album.php')
| -rw-r--r-- | core/controllers/album.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/controllers/album.php b/core/controllers/album.php index cafd6bde..9357c986 100644 --- a/core/controllers/album.php +++ b/core/controllers/album.php @@ -19,7 +19,7 @@ */ class Album_Controller extends Item_Controller { - public function get($item) { + public function _get($item) { // @todo: these need to be pulled from the database $theme_name = "default"; $page_size = 9; |
