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

Added automatic forwarding of the localization parameter when calling group methods #19

Merged
merged 1 commit into from
Jul 6, 2024

Conversation

andrey-helldar
Copy link
Member

@andrey-helldar andrey-helldar commented Jul 6, 2024

Before

route('localized.show', ['bar' => 'show', 'locale' => app()->getLocale()]);
// https://example.com/fr/foo/show

route('localized.show', ['bar' => 'show', 'locale' => 'de']);
// https://example.com/de/foo/show

After

route('localized.show', ['bar' => 'show']);
// https://example.com/fr/foo/show

route('localized.show', ['bar' => 'show', 'locale' => 'de']);
// https://example.com/de/foo/show

@andrey-helldar andrey-helldar added the added Change that adds something label Jul 6, 2024
@andrey-helldar andrey-helldar merged commit d7fcbe8 into main Jul 6, 2024
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
added Change that adds something
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant