I\'m using Laravel 4 framework and I\'ve defined a whole bunch of routes, now I wonder for all the undefined urls, how to route them to 404 page?
according to the official documentation
you can just add a file in: resources/views/errors/ called 404.blade.php with the information you want to display on a 404 error.