Fix 404 pages not having a $pageTitle var

This commit is contained in:
James Brooks
2014-12-31 14:20:13 +00:00
parent 42eb2577f4
commit 11002d5388

View File

@@ -57,7 +57,9 @@ API::error(function (\Illuminate\Database\Eloquent\ModelNotFoundException $excep
});
App::missing(function ($exception) {
return Response::view('errors.404', [], 404);
return Response::view('errors.404', [
'pageTitle' => 'That page went missing!'
], 404);
});
/*