}
sub redirect_to {
- my ($self, $c, $to, $cap, $args, $attrs, $domain) = @_;
+ my ($self, $c, $to, $cap, $args, $attrs) = @_;
#the confess calls could be changed later to $c->log ?
my $action;
$args ||= $c->req->args;
$attrs ||= {};
my $uri = $c->uri_for($action, $cap, @$args, $attrs);
- $uri->host($domain) if $domain;
$c->res->redirect($uri);
}