Hi. New to Laravel and inherited an application that I am trying to debug so please bear with me.
The "register" route is defined in my routes\web.php file but I get a 404 error when navigating to it. I don't get the application's nicely formatted 404, just the webserver's 404.
I can see the register route listed when I do a "php artisan route:list"
If I change the route definition in my routes\web.php file to something like the following I still get a 404 if I navigate to /register:
Route::get('/register', function () {
return 'Hello World';
});
but the following works fine if I navigate to /greet:
Route::get('/greet', function () {
return 'Hello World';
});
It is almost as if something else is overriding the definition of the "register" route. In fact anything with the prefix "register" does not seem to work as a route. e.g. registerx or register-trainer. But I have searched all files in the routes directory and can't find it. Any suggestions or hints?