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 redirect_back #1158

Closed
paulcsmith opened this issue May 29, 2020 · 1 comment · Fixed by #1168
Closed

Add redirect_back #1158

paulcsmith opened this issue May 29, 2020 · 1 comment · Fixed by #1168

Comments

@paulcsmith
Copy link
Member

Similar to Rail's redirect_back. Should require a fallback argument in case there is no previous page.

Example:

redirect_back(fallback: Home::Index)
redirect_back(fallback: "/string/path")
@matthewmcgarvey
Copy link
Member

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 a pull request may close this issue.

2 participants