Merge pull request #10416 from nextcloud/backport/9656/stable27

[stable27] Fix variable name on controller page
This commit is contained in:
rakekniven
2023-06-07 23:22:44 +02:00
committed by GitHub

View File

@@ -527,7 +527,7 @@ will be shown in the top right corner of the public page.
$template = new PublicTemplateResponse($this->appName, 'main', []);
$template->setHeaderTitle('Public page');
$template->setHeaderDetails('some details');
$response->setHeaderActions([
$template->setHeaderActions([
new SimpleMenuAction('download', 'Label 1', 'icon-css-class1', 'link-url', 0),
new SimpleMenuAction('share', 'Label 2', 'icon-css-class2', 'link-url', 10),
]);