I want to use named routes to create page navigation.
For instance I have these named routes:
map.homepage ‘/’, …
map.links ‘/links’, …
map.catalog ‘/products/catalog/’, …
map.catalog2 ‘/catalog/:year/’, …
And then have a map which defines navigation on the basis of the named
routes (just for imagination):
homepage: mysite > homepage
links: mysite > links
catalog, catalog2: mysite > products > catalog
The only thing I need to know is the name of the current route, which
been distinguished from the current request. Can you help me, please?
Where can I get the name?