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?
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?