Improved error page handling

This commit is contained in:
David Bomba 2023-04-25 07:52:54 +10:00
parent 82a6b2dbc0
commit 1bcb76a63a

View File

@ -1,5 +1,5 @@
@extends('portal.ninja2020.layout.error') @extends('portal.ninja2020.layout.error')
@section('title', __($title) ?: 'Server Error') @section('title', __($title) ?? 'Server Error')
@section('code', __($code) ?: '500') @section('code', __($code) ?? '500')
@section('message', __($message) ?: 'System Error') @section('message', __($message) ?? 'System Error')