问题
I have a problem getting auth user in navbar template in laravel 5.2 when 404 occurs. the reason is I can not apply web middleware to 404 page.
Please let me know how to get auth user when NotFoundHttpException occurs
来源:https://stackoverflow.com/questions/36417812/how-to-apply-web-middleware-for-404-page