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

Refactor redirect route in FormsModal.php to use the correct route for the thank-you page #25

Merged
merged 2 commits into from
Aug 6, 2024

Conversation

thejmitchener
Copy link
Member

@thejmitchener thejmitchener commented Aug 6, 2024

Refactors the redirect route in FormsModal.php to ensure that the correct route for the thank-you page is used. Previously, the redirect was pointing to a generic 'thank-you' route, which may not have been properly defined in the routing configuration.

By updating the redirect to forms.thank-you, we align the application with the defined routing structure, improving clarity and maintainability. This change ensures that users are directed to the appropriate thank-you page after successful form submission, enhancing the user experience.

Overall, this refactor contributes to a more robust and organized routing system within the application, reducing the potential for errors and confusion in the navigation flow.

thejmitchener and others added 2 commits August 6, 2024 13:47
…r the thank-you page, improving code accuracy and maintainability.
@thejmitchener thejmitchener merged commit 4665fc3 into main Aug 6, 2024
@thejmitchener thejmitchener deleted the fix-thank-you-bug branch August 6, 2024 17:48
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.

1 participant