Support the ongoing development of Laravel.io →

rolfvandekrol

Joined 19 Mar 2016

Statistics

Threads 0
Replies 1
Solutions 0
Articles 0

rolfvandekrol has not posted any threads yet

replied 8 years ago

Is it possible to return a view from a middleware?

In Laravel 5, you'll need to wrap this in a Illuminate\Http\Response. So something like this: use Il...

jayakt97 liked this reply

1 Likes

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

Your logo here?

Laravel.io

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

© 2024 Laravel.io - All rights reserved.