Updated error blade file

Updated error blade file to show status code 404 if not set
This commit is contained in:
cp6 2022-02-20 22:38:17 +11:00
parent 2c44e3b3ad
commit 3ab9f65da5

View File

@ -1,4 +1,10 @@
@section('title') {{'Error'}} {{$status}} @endsection
@section('title') {{'Error'}}
@if(isset($status))
{{$status}}
@else
<h1>404</h1>
@endif
@endsection
@section('style')
<style>
.page-not-found-div {