Closed 4c0n closed 5 years ago
We had routes like this before but ended up with idea that /terms/
in path will not be OK for non-en_XX
stores. And idea was to import terms routes at the end of main routing file - that way it will be handled with lowest priority.
@4c0n Have you tried to import routes at the end?
Hi @igormukhingmailcom
I talked to @4c0n on Slack and explained our reasoning, but I think we need to merge this now, and then I will add an issue so we can work on the more beautiful/correct URLs in the future
After installing the plugin, when using the
debug:router
command to check what routes the plugin adds, I see the following:Considering that the route for the cart for example looks like:
Then
cart
is interpreted as the slug for the terms and conditions. This change makes the route path look like: