Sha256: e66434e2bff8eff6d4e8d9660e84695f8658470fb48f754ad46be26886b0eca0
Contents?: true
Size: 551 Bytes
Versions: 2
Compression:
Stored size: 551 Bytes
Contents
## [Unreleased] ## [0.2.0] - 2022-04-21 - `stash_redirect_for` raises `ArgumentError` on invalid redirect URL Protects against storing a URL that `redirect_to` can't redirect to later. - `redirect_from_stashed` raises `ActionController::StashedRedirects::MissingRedirectError` Useful to add a specific general fallback: ```ruby class ApplicationController < ActionController::Base rescue_from(ActionController::StashedRedirects::MissingRedirectError) { redirect_to root_url } end ``` ## [0.1.0] - 2022-04-21 - Initial release
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
action_controller-stashed_redirects-0.2.2 | CHANGELOG.md |
action_controller-stashed_redirects-0.2.0 | CHANGELOG.md |