Updated error blade file
Updated error blade file to show status code 404 if not set
This commit is contained in:
parent
2c44e3b3ad
commit
3ab9f65da5
|
@ -1,4 +1,10 @@
|
||||||
@section('title') {{'Error'}} {{$status}} @endsection
|
@section('title') {{'Error'}}
|
||||||
|
@if(isset($status))
|
||||||
|
{{$status}}
|
||||||
|
@else
|
||||||
|
<h1>404</h1>
|
||||||
|
@endif
|
||||||
|
@endsection
|
||||||
@section('style')
|
@section('style')
|
||||||
<style>
|
<style>
|
||||||
.page-not-found-div {
|
.page-not-found-div {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user