We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Similar to Rail's redirect_back. Should require a fallback argument in case there is no previous page.
redirect_back
fallback
Example:
redirect_back(fallback: Home::Index) redirect_back(fallback: "/string/path")
The text was updated successfully, but these errors were encountered:
The link to Rails source for redirect_back for future reference https://github.com/rails/rails/blob/97c3a5605bacd62e5a01872dfe5e5976cd982115/actionpack/lib/action_controller/metal/redirecting.rb#L90
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Similar to Rail's
redirect_back
. Should require afallback
argument in case there is no previous page.Example:
The text was updated successfully, but these errors were encountered: