youtube
youtube copied to clipboard
Can't cache application routes due to the use of closures
Hi!
As the routes are declared as closures the php artisan route:cache command fails, any posibility to extract the closure to a controller to allow route cache?
Thanks!
Hi @santiagotoledo91
A little busy at the moment to do this unfortunately, happy to review a PR though if you have the time.
Thanks!
I added a controller to #119 this should fix it