@@ -8,11 +8,11 @@ |
||
8 | 8 | |
9 | 9 | class PageController extends AbstractController |
10 | 10 | { |
11 | - /** |
|
12 | - * method to show index page of content management |
|
13 | - * @Route("/contents", name="ribsadmin_contents") |
|
14 | - * @return Response |
|
15 | - */ |
|
11 | + /** |
|
12 | + * method to show index page of content management |
|
13 | + * @Route("/contents", name="ribsadmin_contents") |
|
14 | + * @return Response |
|
15 | + */ |
|
16 | 16 | public function indexAction(): Response |
17 | 17 | { |
18 | 18 | $navigation = $this->getDoctrine()->getManager()->getRepository("RibsAdminBundle:Navigation")->findAllNavigationPage(); |
@@ -9,11 +9,11 @@ |
||
9 | 9 | |
10 | 10 | class RenderPageController extends AbstractController |
11 | 11 | { |
12 | - /** |
|
13 | - * @Route("/page/{url}", name="page", requirements={"url" = "[a-zA-Z0-9\-\_\/]*"}) |
|
14 | - * @param string $url |
|
15 | - * @return Response |
|
16 | - */ |
|
12 | + /** |
|
13 | + * @Route("/page/{url}", name="page", requirements={"url" = "[a-zA-Z0-9\-\_\/]*"}) |
|
14 | + * @param string $url |
|
15 | + * @return Response |
|
16 | + */ |
|
17 | 17 | public function renderPageAction(string $url): Response |
18 | 18 | { |
19 | 19 | $em = $this->getDoctrine()->getManager(); |