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

add fully qualified versions of wizard path helpers #272

Merged

Conversation

michael-garland
Copy link
Contributor

This PR adds *_url versions of wizard_path, next_wizard_path, and previous_wizard_path.

There are a few reasons we would like to see this in the gem:

First, it brings the wizard route helpers into alignment with Rails convention which offers both *_path and *_url helpers.

Second, it also allows us to honor the HTTP spec which says that all redirects should be fully qualified.

Finally, our wizards involve a user signing in or creating an account and we use a Single Sign On solution for that which requires redirecting out to a different app and then getting redirected back. We need to pass a fully qualified url to the SSO app so that it can return the user to us correctly. We have created this in our own controller so we aren't blocked but it would be nice if the gem provided them.

@michael-garland michael-garland force-pushed the implement-next-url-and-previous-url branch from 2c6ad62 to efc88e0 Compare November 5, 2020 13:55
@michael-garland
Copy link
Contributor Author

@schneems Any thoughts or questions on this PR?

1 similar comment
@silva96
Copy link

silva96 commented Nov 30, 2021

@schneems Any thoughts or questions on this PR?

@schneems
Copy link
Member

schneems commented Dec 7, 2021

Seems good. Thanks!

@schneems schneems merged commit 647c379 into zombocom:main Dec 7, 2021
@schneems
Copy link
Member

schneems commented Dec 7, 2021

This is released in 1.4.0

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.

3 participants