Subject: | [] confuses uri_for without an action object. |
Date: | Tue, 9 Feb 2010 02:16:15 +0000 |
To: | bug-Catalyst-Runtime [...] rt.cpan.org |
From: | Tomas Doran <bobtfish [...] bobtfish.net> |
01:49 < dkulchenko> it should be $c->response->redirect( $c->uri_for('/
login', undef, {continue_to => $c->req->uri}) ); not $c-
Show quoted text
>response->redirect( $c->uri_for('/login', [], {continue_to =>
$c->req->uri}) );
01:49 <@mst> or skip the []
01:49 <@mst> the [] is only there when you used an action object
01:49 <@mst> not a random string