From 590fd96c78d7a5306b4367e88c614c011009f084 Mon Sep 17 00:00:00 2001 From: danial rahimy <48244647+danialRahimy@users.noreply.github.com> Date: Thu, 23 Feb 2023 12:09:27 +0330 Subject: [PATCH] Update controllers.rst Correct variable name Signed-off-by: danial rahimy <48244647+danialRahimy@users.noreply.github.com> --- developer_manual/basics/controllers.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/developer_manual/basics/controllers.rst b/developer_manual/basics/controllers.rst index 08ace80d5..1877af743 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), ]);