[Catalyst] Handy shotcuts
Bill Moseley
moseley at hank.org
Thu Mar 20 13:03:16 GMT 2008
On Thu, Mar 20, 2008 at 01:17:18PM +0300, Alex Povolotsky wrote:
> I've implemented
>
> $c->uri_redirect($path) as a shortcut to
> $c->res->redirect($c->uri_for($path))
>
> and
>
> $c->uri_redirect_d($path) as $c->uri_redirect($path); $c->detach()
>
> I guess these shortcuts are really useful. Patch is attached.
You don't mention your application, but this thread might be of
interest, too:
http://lists.scsys.co.uk/pipermail/catalyst/2007-April/thread.html#13047
--
Bill Moseley
moseley at hank.org
More information about the Catalyst
mailing list