Fix 404 pages not having a $pageTitle var
This commit is contained in:
@@ -57,7 +57,9 @@ API::error(function (\Illuminate\Database\Eloquent\ModelNotFoundException $excep
|
|||||||
});
|
});
|
||||||
|
|
||||||
App::missing(function ($exception) {
|
App::missing(function ($exception) {
|
||||||
return Response::view('errors.404', [], 404);
|
return Response::view('errors.404', [
|
||||||
|
'pageTitle' => 'That page went missing!'
|
||||||
|
], 404);
|
||||||
});
|
});
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user