first version
This commit is contained in:
11
site/controllers/album.php
Executable file
11
site/controllers/album.php
Executable file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
return function ($page) {
|
||||
|
||||
$gallery = $page->images()->sortBy("sort");
|
||||
|
||||
return [
|
||||
'gallery' => $gallery
|
||||
];
|
||||
|
||||
};
|
Reference in New Issue
Block a user