Fixed Wrong Errormessage in debugmode if routeprefix doesn't exist

xf_phantom

Well-known member
If i visit a invalid url i'm getting

A controller for the route path xxx was not found.
Shouldn't it be "route prefix " xxx wasn't found?

if the routeprefix and routeclass exist, but the controller not
The controller XXX does not define an action called Index.
if the routeprefix exist, but the route class is missing:
A controller for the route path xxx was not found.

Better Error messages would make debugging easier:)
 
Top