JMSI18nRoutingBundle
JMSI18nRoutingBundle copied to clipboard
If the domain does not match the hostmap, it should not bail out and thr...
If the domain does not match the hostmap, it should not bail out and throw an exception.
It should fall back to the default locale.
Throws "[1/2] ResourceNotFoundException: Resource corresponding to pattern "/" not found for locale ""."
I'm not convinced by this.
If a route is restricted to another host and consequentially does not exist on the current host, then a 404 seems like the logical response in such a case.
Any thoughts on changing this to be a configuration option? As redirect_to_host is not always a valid option.
Just to note the error throws
Throws "[1/2] ResourceNotFoundException: Resource corresponding to pattern "/" not found for locale ""."