diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2011-08-11 22:11:24 -0700 |
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2011-08-11 22:11:24 -0700 |
| commit | c92d34a86b0515363f790056293cea2b0a738782 (patch) | |
| tree | 9d5b794e434d26ef7ee50281b3ebee716e3327a5 /modules/gallery/controllers/albums.php | |
| parent | a5b1972bbe9676479886ca94bb23f09407a87561 (diff) | |
| parent | 933a34986dbca248f388e8aa3c3aea4a6d71a94b (diff) | |
Merge branch 'displayContext' into display_context_compressed
Conflicts:
modules/gallery/controllers/movies.php
modules/gallery/controllers/photos.php
modules/tag/controllers/tag.php
Diffstat (limited to 'modules/gallery/controllers/albums.php')
| -rw-r--r-- | modules/gallery/controllers/albums.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/gallery/controllers/albums.php b/modules/gallery/controllers/albums.php index 1c48c734..9bf7b9bf 100644 --- a/modules/gallery/controllers/albums.php +++ b/modules/gallery/controllers/albums.php @@ -60,6 +60,9 @@ class Albums_Controller extends Items_Controller { url::redirect($album->abs_url("page=$max_pages")); } + Display_Context::factory("item") + ->save(); + $template = new Theme_View("page.html", "collection", "album"); $template->set_global( array("page" => $page, |
