I have a staticController with actions for the following link examples:
/ register / output
this is an example annotation:
/** *@Route("/imprint", name="user.static.imprint") */
And now I have the following annotation for linking to other pages with dynamic link names:
/** *@Route("/{area}", requirements={"id" = "!imprint"}, name="user.area.index") */
I am using the path () function in a branch to create links.
The generated link / fingerprint ist is now routed to the second annotation. How can I avoid this problem?
Many thanks.
source share