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: benvanstave...@gmail.com


_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

Reply via email to