From: Tomas Doran Date: Thu, 23 Jul 2009 00:25:28 +0000 (+0000) Subject: Is this more correct? X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Authentication-Credential-FBConnect.git;a=commitdiff_plain;h=7bbc3e953f7dac3549f36153e0902fb3a2092121 Is this more correct? --- diff --git a/lib/Catalyst/Authentication/Credential/FBConnect.pm b/lib/Catalyst/Authentication/Credential/FBConnect.pm index 6d549ef..5ad90b8 100644 --- a/lib/Catalyst/Authentication/Credential/FBConnect.pm +++ b/lib/Catalyst/Authentication/Credential/FBConnect.pm @@ -58,7 +58,7 @@ sub authenticate { } else { - $c->res->redirect( $self->fbconnect->get_login_url( next => $c->uri_for( $c->action ) ) ); + $c->res->redirect( $self->fbconnect->get_login_url( next => $c->uri_for( $c->action, $c->req->captures, @{ $c->req->args } ) ) ); } }