Support the ongoing development of →
Configuration Requests Blade
Last updated 2 years ago.

I found a workaround for this. Instead of:


I changed the middleware to use a helper function and then called the helper function on a view:

{!! helperFunction(view('')) !!}

And everything seems to be working now, but am still curious as to why a 404 request isn't processed as an http request and subject to all the global http stack middleware.


Sign in to participate in this thread!


Your banner here too?


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 - All rights reserved.