|
@@ -40,7 +40,7 @@ class PageController extends AbstractController
|
|
return $this->redirectToRoute('app_page_show', ['name' => $page->getName()]);
|
|
return $this->redirectToRoute('app_page_show', ['name' => $page->getName()]);
|
|
}
|
|
}
|
|
|
|
|
|
- return $this->renderForm('page/edit.html.twig', [
|
|
|
|
|
|
+ return $this->render('page/edit.html.twig', [
|
|
'title' => $page->getName(),
|
|
'title' => $page->getName(),
|
|
'form' => $form
|
|
'form' => $form
|
|
]);
|
|
]);
|