nie wiem jak zrobić aby tworzyły się dynamiczne linki w menu ze slugiem (np: /o-firmie), kiedy je odczytuje to mam dziwną postać w źródle: web/app_dev.php/%7B%24slug%7D?slug=o-firmie
a kiedy klikam taki link to wywala błąd:
Controller "FrontBundle\Controller\DefaultController::pageAction()" requires that you provide a value for the "$slug" argument (because there is no default value or because there is a non optional argument after this one).
Builder.php
'route' => 'page', ));
DefaultController.php
/** * @Route("/{$slug}", name="page") * @Template("FrontBundle:Page:page.html.twig") */ public function pageAction($slug) { }
Prosze o pomoc