RubyGems.org

Adds a redirect_back_or_to method so after edit/create/destroy it redirects to the FORM referer (usually two steps back from the action) or to the explicit redirection target if there's no place to get back.

installgem install back_to_referer_after_form
Authors

Alfredo Daniel Rezinovsky

1,891 total downloads 901 for this version
Owners

6d1993702708f77f03c2606fdab84cc9

Gemfile
gem "back_to_referer_after_form", "~> 0.1.7"
Versions
  1. 0.1.7 September 27, 2011
  2. 0.1.6 August 10, 2011
Show all versions (8 total)