No, it's wrong if you are not building just a prototype app.
You should use controllers and models to separate your logic instead of closures on routes.
Take a look at Laracasts to learn more about more about MVC and Laravel in general, there are plenty of free lessons.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community