Hi, I have the 404.blade.php file in the resources/views/errors and it extends master.blade.php, like this:
@extends('frontend.master')
@section('main')
404
@stop
I'm using abort(404);
to trigger the error page and it works fine. But I need to pass some variables from the controller to the 404 view. How can I do this?
Thanks
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community