Commit 395b69b5 authored by Taylor Otwell's avatar Taylor Otwell

fix status code

parent f4784068
......@@ -43,7 +43,7 @@ class Handler extends ExceptionHandler
public function render($request, Exception $e)
{
if ($e instanceof ModelNotFoundException) {
$e = new NotFoundHttpException(404, $e->getMessage(), $e);
$e = new NotFoundHttpException($e->getMessage(), $e);
}
return parent::render($request, $e);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment