diff options
Diffstat (limited to 'core/controllers')
-rw-r--r-- | core/controllers/albums.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/core/controllers/albums.php b/core/controllers/albums.php index ec5466a6..e684fa6b 100644 --- a/core/controllers/albums.php +++ b/core/controllers/albums.php @@ -46,4 +46,14 @@ class Albums_Controller extends Items_Controller { print $template; } + + /** + * @see Rest_Controller::_form_add($parameters) + */ + public function _form_add($parent_id) { + $parent = ORM::factory("item", $parent_id); + + print album::get_add_form($parent)->render(); + } + } |