* 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: 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/