Redirect to route error view in laravel

0

It is possible that when a route typed by url is badly copied, do not redirect to this page If not to a view where you can handle the error in another way? for saying return view('paginadondemuestroerrores')

    
asked by Santiago Muñoz 10.07.2017 в 20:21
source

1 answer

1

To return a custom view to error 404 as it says the documentation it would be enough to create a new view 404.blade.php the route would be

resources/views/errors/404.blade.php
    
answered by 10.07.2017 / 20:31
source