This project is archived and is in readonly mode.
using :back in a redirect_to on a verify should redirect to the referring page
Reported by Amos King | May 30th, 2008 @ 12:52 AM
This patch fixes:
verify :method => :post, :redirect_to => :back
from looking for an action called back.
Instead it should redirect to the referrer.
Comments and changes to this ticket
-
Amos King May 30th, 2008 @ 01:07 AM
Added another patch with a test for when referrer is set. The first patch had no referrer set in the test.
-
Repository June 17th, 2008 @ 06:30 PM
- State changed from new to resolved
(from [1b4b8fbbd95d7d674df7f013fd88b9b7f859a6f1]) verify :redirect_to => :back should redirect to the referrer. [#280 state:resolved]
Signed-off-by: Pratik Naik
-
Repository June 17th, 2008 @ 06:32 PM
(from [b99c1c939cd2329dad6d16a9dfeafdecdd5a412d]) verify :redirect_to => :back should redirect to the referrer. [#280 state:resolved]
Signed-off-by: Pratik Naik
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>