* Alex Povolotsky <[EMAIL PROTECTED]> [2008-03-20 11:25]:
> +sub uri_redirect {
> + my ($c, $path) = @_;
> + return $c->response->redirect($c->uri_for($path));
> +}
But `uri_for` can take a lot more parameters than just one;
there’s no reason you have to restrict your utility methods
to the first one.
Regards,
--
Aristotle Pagaltzis // <http://plasmasturm.org/>
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/