Added not found page title lang

This commit is contained in:
Joseph Cohen
2014-12-31 19:48:49 -06:00
parent bf19cdc29e
commit 5e15495c26
2 changed files with 2 additions and 1 deletions

View File

@@ -56,6 +56,7 @@ return [
'settings_saved' => 'Settings saved.',
'settings_not_saved' => 'Settings could not be saved.',
'not_found' => 'Page Not Found',
'not_found_title' => 'That page went missing!',
'not_found_message' => 'Sorry, but the page you are looking for has not been found. Check the URL for errors and try again.',
'not_found_link' => 'Return to homepage',
],

View File

@@ -59,7 +59,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' => 'That page went missing!',
'pageTitle' => Lang::get('cachet.dashboard.not_found_title'),
], 404);
}