I'm not sure if I'm approaching this problem in the correct way
I need the same route pattern for 2 different actions, like this
/{category}
going to productAction and
/{brand}
going to brandAction (without prefix)
A query to DB will tell me which type of entity this parameter is and then I can assign the action/controller to handle it
I could create an Action to handle this pattern and redirect to another action accordingly
I could create a Listener in kernel.controller event and reassign the controller accordingly
I could use Symfony CMF but seems to me like overkill.
Thanks in advance