Override and multiple routes for same route

thank you for you answer odan . . .

but… the problem is . . …

i have a cart_route.php, in this file… i have any route for cart ( /cart , /cart/detail, /cart/delete … and others . . . )

in other file user_route.php the route for users… example ( /{user_name} , /{user_name}/dashboard , /{user_name}/conferences , /{user_name}/collections/details … where this variable is dinamyc and a unique in the data base ).

when i defined and test in user_route.php by example /{user_name} , my route in cart_route.php, ( /cart , /cart/detail, /cart/delete /cart/detele/{id_product} . ) and products_route.php ( /products/list , /product/detail/{id_product} ) Doesn’t work