Pass variable from middleware to view via controller in Laravel 5.2
问题 Hi I am trying to do the following in Laravel 5.2. Summary: Pass some variables from middleware to view, via controller Detailed: When a client is logged in, no matter what route they want, we need to check if they have completed all "setup steps" (each step refers to a different route, e.g. one could be company info, another could be product settings, etc). If they have completed all setup steps, then let them proceed to their chosen route, otherwise we redirect to the appropriate "setup