summaryrefslogtreecommitdiff
path: root/core/controllers/album.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-11-05 07:42:52 +0000
committerBharat Mediratta <bharat@menalto.com>2008-11-05 07:42:52 +0000
commitd21f3437e64fb67f306eaec40e778e77176796ff (patch)
tree1895709d0e920ecd332696b50dba796862e654e5 /core/controllers/album.php
parent581e931c439a726fbd6a0b0068debd2cd76e349d (diff)
Add the photo controller, and tie it to the photo page in our theme.
Implement a real breadcrumb.
Diffstat (limited to 'core/controllers/album.php')
-rw-r--r--core/controllers/album.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/controllers/album.php b/core/controllers/album.php
index 9c78dfca..2b1ad067 100644
--- a/core/controllers/album.php
+++ b/core/controllers/album.php
@@ -28,6 +28,7 @@ class Album_Controller extends Template_Controller {
$this->template->set_global('item', $item);
$this->template->set_global('children', $item->children());
+ $this->template->set_global('parents', $item->parents());
/** @todo: this needs to be data-driven */
$this->template->set_global('theme', new Theme("default", $this->template));