I have a suggestion on making a single unique index on a pair of routePattern and prefix fields of the Route model. This way it would be possible to implement same urls with same route patterns, it would be especially useful when handling different locale prefixes.
For example /en/foo/bar and /fr/foo/bar where the routePattern is /foo/bar and /en and /fr are prefixes
I have a suggestion on making a single unique index on a pair of
routePatternandprefixfields of theRoutemodel. This way it would be possible to implement same urls with same route patterns, it would be especially useful when handling different locale prefixes.For example
/en/foo/barand/fr/foo/barwhere theroutePatternis/foo/barand/enand/frare prefixes