Add a 404 page (awful, let's get it restyled)
This commit is contained in:
@@ -57,6 +57,10 @@ API::error(function (\Illuminate\Database\Eloquent\ModelNotFoundException $excep
|
||||
return Response::make(['error' => $exception->getMessage()], 404);
|
||||
});
|
||||
|
||||
App::missing(function($exception) {
|
||||
return Response::view('errors.404', array(), 404);
|
||||
});
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Maintenance Mode Handler
|
||||
|
||||
Reference in New Issue
Block a user