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

Fix params not passed to get_path in default return_to route #856

Merged
merged 3 commits into from
Feb 11, 2025

Conversation

Flo0807
Copy link
Collaborator

@Flo0807 Flo0807 commented Feb 11, 2025

We did not pass the params to get_path in the default return_to implementation. This caused errors when nested routes were used (e.g., /:id/users). Besides passing the params, this PR also adds an understandable error message in case params are still missing to build route.

@Flo0807 Flo0807 added the bug Something isn't working label Feb 11, 2025
@Flo0807 Flo0807 requested a review from krns February 11, 2025 09:42
@Flo0807 Flo0807 merged commit 9900415 into develop Feb 11, 2025
6 checks passed
@Flo0807 Flo0807 deleted the feature/fix-params-not-passed-to-get-path branch February 11, 2025 09:48
@Flo0807 Flo0807 mentioned this pull request Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants