Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 6758

Show
Ignore:
Timestamp:
05/18/07 01:21:48 (1 year ago)
Author:
bitsweat
Message:

Oops.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/actionpack/lib/action_controller/base.rb

    r6751 r6758  
    10331033            request.env["HTTP_REFERER"] ? redirect_to(request.env["HTTP_REFERER"]) : raise(RedirectBackError) 
    10341034 
     1035          when Hash 
     1036            redirect_to(url_for(options)) 
     1037            response.redirected_to = options 
     1038 
    10351039          else 
    10361040            redirect_to(url_for(options))