youtube icon indicating copy to clipboard operation
youtube copied to clipboard

Can't cache application routes due to the use of closures

Open santiagotoledo91 opened this issue 6 years ago • 2 comments

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!

santiagotoledo91 avatar May 24 '18 14:05 santiagotoledo91

Hi @santiagotoledo91

A little busy at the moment to do this unfortunately, happy to review a PR though if you have the time.

Thanks!

joedawson avatar Jun 04 '18 09:06 joedawson

I added a controller to #119 this should fix it

gazben avatar Jun 09 '20 18:06 gazben