jeudi 25 février 2016

404 Error Handling in Laravel 5.2.15

I am asking this question because I did not get reply after adding my comment in this question

laravel routing and 404 error

In the above answer, we can see below code to be used in filters.php

App::missing(function($exception)
{
    return Response::view('errors.missing', array(), 404);
});

But, I think we don't have filters.php in latest version. Can somebody suggest better way to handle 404 error?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire