Please sign in to comment.
Don't display duplicate route errors when a route class is missing.
Previously if an application's routes used a route class that didn't exist, Router::$initialized would not be set, so the error page rendering would re-load the routes, and if the routes defined *before* the missing route class were also named routes, a duplicate route error would be displayed instead of the original error. By initializing Router we avoid that issue. Refs #11876
- Loading branch information...
Showing with 27 additions and 1 deletion.