I'm trying to build a menu using the router. My controller name and url aren't the same. How can I get the route pattern or slug from the controller and action name ?
name = /products
Controller = productManagement
Action = listProducts
I want to get "/products" simple by providing "productManagement/listProducts"