Answers for "if page is 404 laravel"

PHP
1

if page is 404 laravel

//Access error code in view

@if(isset($exception) && $exception->getStatusCode() == 404)

@endif
Posted by: Guest on July-02-2021

Browse Popular Code Answers by Language