Skip to content

Commit

Permalink
[DOCS] Adjust extbase example for v13 changes (#5080)
Browse files Browse the repository at this point in the history
  • Loading branch information
s2b authored Nov 25, 2024
1 parent 96a6ef4 commit 02afb60
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,7 @@ After that you can add titles, menus and buttons using :php:`ModuleTemplate`:
$this->view->assign('someVar', 'someContent');
$moduleTemplate = $this->moduleTemplateFactory->create($this->request);
// Adding title, menus, buttons, etc. using $moduleTemplate ...
$moduleTemplate->setContent($this->view->render());
return $this->htmlResponse($moduleTemplate->renderContent());
return $moduleTemplate->renderResponse('MyController/MyAction');
}
.. seealso::
Expand Down

0 comments on commit 02afb60

Please sign in to comment.