Level 2
May 4, 2015
3
Level 1
Redirect after NotFoundHttpException with Lumen
I am trying to redirect to the home page after a NotFoundHttpException '404'. using Lumen. I have try to send a redirect from App\Exceptions\Handler in the render method but I only get a white page with status of 500? Any idea how to achieve this?
Level 1
I was doing exactly like @bobbybouwmann but using redirect('/') helper instead of the facade. Anyway the problem was the session driver in the .env was set to memcached and I don't have it installed. Change the setting to file driver and it work!
Thanks Guys!
Please or to participate in this conversation.