tighten / ziggy

Use your Laravel routes in JavaScript.
MIT License
3.83k stars 247 forks source link

Laravel route change #763

Closed hasanablak closed 1 month ago

hasanablak commented 1 month ago

We already mention in the comment line: "// routes/api.php".

if we are say "Route::get('api/ziggy', fn () => response()->json(new Ziggy));"

this time laravel will create like this route:

"api/api/ziggy"

bakerkretzmar commented 1 month ago

Haha yep you're totally right, great catch. Thanks!