laravel routing and 404 error

Viewed 43027

I want to specify that if anything entered in the url address other than existing routes (in routes.php, then show 404 page.

I know about this:

App::abort(404);

but how can I specify the part where everything else except the routes defined?

4 Answers
Related