diff --git a/resources/views/errors/403.blade.php b/resources/views/errors/403.blade.php index b05e7b08..505dd35c 100644 --- a/resources/views/errors/403.blade.php +++ b/resources/views/errors/403.blade.php @@ -4,5 +4,11 @@ @section('message') {{ __('Access denied') }} + @php + $msg = $exception->getMessage(); + @endphp + @if ($msg && strstr($msg, '[display]')) +

{{ str_replace('[display]', '', $msg) }} + @endif

{{ __('Go to') }} {{ __('Homepage') }} @endsection \ No newline at end of file