fix custom message of HttpException
This commit is contained in:
parent
f5c9e08ad6
commit
91411f5563
|
|
@ -5,5 +5,5 @@
|
|||
@section('content')
|
||||
<h1>403 Forbidden</h1>
|
||||
|
||||
<p>详细信息:{{ $message }}</p>
|
||||
<p>详细信息:{{ $exception->getMessage() ?: "你并没有权限查看此页面" }}</p>
|
||||
@endsection
|
||||
|
|
|
|||
|
|
@ -5,5 +5,5 @@
|
|||
@section('content')
|
||||
<h1>404 Not Found</h1>
|
||||
|
||||
<p>详细信息:{{ $message or "这里啥都没有哦" }}</p>
|
||||
<p>详细信息:{{ $exception->getMessage() ?: "这里啥都没有哦" }}</p>
|
||||
@endsection
|
||||
|
|
|
|||
|
|
@ -5,5 +5,5 @@
|
|||
@section('content')
|
||||
<h1>Be right back.</h1>
|
||||
|
||||
<p>详细信息:{{ $message or "Application is now in maintenance mode." }}</p>
|
||||
<p>详细信息:{{ $exception->getMessage() ?: "Application is now in maintenance mode." }}</p>
|
||||
@endsection
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user