In your resources/views/errors folder make sure you have a 404.blade.php file and if that is not there then create it and put something in this file. Sepending on your environment setup. FYI, in app\Exceptions\Handler.php file the handler method handles/catches the errors. So check it, you may customize it, for example: public function render($request, Exception $e) { // Customize it, extra code if ($e instanceof AccessDeniedHttpException) { return response(view('errors.403'), 403); } // The method has only this line by default return parent::render($request, $e); }
Read more of this post
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.