@@ -11,11 +11,11 @@ |
||
11 | 11 | */ |
12 | 12 | private $container; |
13 | 13 | |
14 | - /** |
|
15 | - * Globals constructor. |
|
16 | - * @param ContainerInterface $container |
|
17 | - */ |
|
18 | - public function __construct(ContainerInterface $container) |
|
14 | + /** |
|
15 | + * Globals constructor. |
|
16 | + * @param ContainerInterface $container |
|
17 | + */ |
|
18 | + public function __construct(ContainerInterface $container) |
|
19 | 19 | { |
20 | 20 | $this->container = $container; |
21 | 21 | } |
@@ -51,9 +51,9 @@ |
||
51 | 51 | $dev_mode = $this->container->getParameter("ribs_admin")["dev_mode"]; |
52 | 52 | |
53 | 53 | if ($dev_mode === true) { |
54 | - $package = "lib/".$this->getPackageDevName($package); |
|
54 | + $package = "lib/" . $this->getPackageDevName($package); |
|
55 | 55 | } |
56 | 56 | |
57 | - return implode("/", $path)."/../../" . $package; |
|
57 | + return implode("/", $path) . "/../../" . $package; |
|
58 | 58 | } |
59 | 59 | } |
@@ -8,11 +8,11 @@ |
||
8 | 8 | |
9 | 9 | class PageController extends Controller |
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 Controller |
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(); |