This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
MIT-LICENSE | Wed Jun 04 16:03:06 -0700 2008 | [bumi] |
| |
README | Wed Jun 04 16:03:06 -0700 2008 | [bumi] |
| |
Rakefile | Wed Jun 04 16:03:06 -0700 2008 | [bumi] |
| |
init.rb | Wed Jun 04 16:03:06 -0700 2008 | [bumi] |
| |
install.rb | Wed Jun 04 16:03:06 -0700 2008 | [bumi] |
| |
lib/ | Mon Jun 09 17:45:49 -0700 2008 | [bumi] |
| |
tasks/ | Wed Jun 04 16:03:06 -0700 2008 | [bumi] |
| |
test/ | Wed Jun 04 16:03:06 -0700 2008 | [bumi] |
README
RedirectLove ============ some simple return_to helpers redirect_back_or_default( posts_url ) checks if session[:return_to] or params[:return_to] is set otherwise it redirects to the provided URL adds some helpers to set return_to methods: redirect_back_or_default (= redirect_back and = redirect_bod) redirect_away: saves the current path and redirects save_return_to: used in a before_filter to save the params[:return_to] in the session link_away: view link helper which adds the return_to params THANKS TO: http://ethilien.net/archives/better-redirects-in-rails/ who provided most of this code! Copyright (c) 2008 Michael Bumann - railslove.com, released under the MIT license




