[Catalyst] Transferring control via root/auto
Ben van Staveren
benvanstaveren at gmail.com
Tue Dec 7 16:11:46 GMT 2010
You want to $c->detach('end') -- unless that's the default these days. I
use this pattern a lot and the only difference I see is that I do:
$c->detach('end') and return 0;
> $c->res->redirect($c->uri_for($c->controller('Users')->action_for('loginedit'),
>
> [$c->user->id] ));
> $c->detach();
--
Ben van Staveren
phone: +62 81 70777529
email: benvanstaveren at gmail.com
More information about the Catalyst
mailing list