Remove the remaining use of the lang facade
This commit is contained in:
@@ -37,7 +37,7 @@ API::error(function (\Illuminate\Database\Eloquent\ModelNotFoundException $excep
|
||||
App::missing(function ($exception) {
|
||||
if (Request::is('dashboard*') or Request::is('api*')) {
|
||||
return Response::view('errors.404', [
|
||||
'pageTitle' => Lang::get('cachet.dashboard.not_found_title'),
|
||||
'pageTitle' => trans('cachet.dashboard.not_found_title'),
|
||||
], 404);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user