search for: redirected_control

Displaying 1 result from an estimated 1 matches for "redirected_control".

2007 Mar 12
1
Can't follow redirects outside current controller - but it's the same controller
...t'', I get ''Can''t follow redirects outside current controller (from "foo" to "foo"). On further investigation, it turns out that :foo != ''foo'' around line 401 of actionpack/lib/ action_controller/test_process.rb. Changing the line: if redirected_controller && redirected_controller != @controller.controller_name to if redirected_controller && redirected_controller.to_s != @controller.controller_name.to_s fixes the problem. Has anyone else hit this? The method in question is just doing ''redirect_to :action=>:someaction...