Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Laravel route change #763

Merged
merged 1 commit into from
Jul 3, 2024
Merged

Laravel route change #763

merged 1 commit into from
Jul 3, 2024

Conversation

hasanablak
Copy link
Contributor

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"

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
Copy link
Collaborator

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

@bakerkretzmar bakerkretzmar merged commit a72a346 into tighten:2.x Jul 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants