I don't think you can pass parameters from the controller. Create a route group instead.
http://laravel.com/docs/5.1/middleware#middleware-parameters
I have found way to pass parameters through the controller. This feature on Laravel 5.1 version so i upgrade 5.0 to 5.1 now its working perfectly.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community