summaryrefslogtreecommitdiff
path: root/modules/gallery/controllers/albums.php
diff options
context:
space:
mode:
authorNathan Kinkade <nath@nkinka.de>2011-08-11 19:07:45 +0000
committerNathan Kinkade <nath@nkinka.de>2011-08-11 19:07:45 +0000
commitd8dffba94277c2179a59eb72d6927a5bdb879648 (patch)
treed377bd9d2e1e277ca93cc7fc17c73edae5286706 /modules/gallery/controllers/albums.php
parent2ec6e8d61b63ac5d3fc5cbd6761360539cd9d5e9 (diff)
parenta5b1972bbe9676479886ca94bb23f09407a87561 (diff)
Merge branch 'master' of git://github.com/gallery/gallery3
Diffstat (limited to 'modules/gallery/controllers/albums.php')
-rw-r--r--modules/gallery/controllers/albums.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gallery/controllers/albums.php b/modules/gallery/controllers/albums.php
index ccf6c1cb..1c48c734 100644
--- a/modules/gallery/controllers/albums.php
+++ b/modules/gallery/controllers/albums.php
@@ -69,6 +69,7 @@ class Albums_Controller extends Items_Controller {
"item" => $album,
"children" => $album->viewable()->children($page_size, $offset),
"parents" => $album->parents()->as_array(), // view calls empty() on this
+ "breadcrumbs" => Breadcrumb::array_from_item_parents($album),
"children_count" => $children_count));
$template->content = new View("album.html");