diff --git a/developer_manual/basics/controllers.rst b/developer_manual/basics/controllers.rst index e474c914a..4e34f0a97 100644 --- a/developer_manual/basics/controllers.rst +++ b/developer_manual/basics/controllers.rst @@ -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), ]);