From 110f5e491eb25e6434bd964388fdbba9619b35f6 Mon Sep 17 00:00:00 2001 From: groditi Date: Fri, 2 Oct 2009 20:09:49 +0000 Subject: undo change allowing domain in redirect_to --- lib/Reaction/UI/Controller.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/Reaction/UI/Controller.pm b/lib/Reaction/UI/Controller.pm index 8222215..2d1b843 100644 --- a/lib/Reaction/UI/Controller.pm +++ b/lib/Reaction/UI/Controller.pm @@ -55,7 +55,7 @@ sub pop_viewports_to { } 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; @@ -76,7 +76,6 @@ sub redirect_to { $args ||= $c->req->args; $attrs ||= {}; my $uri = $c->uri_for($action, $cap, @$args, $attrs); - $uri->host($domain) if $domain; $c->res->redirect($uri); } -- cgit v1.2.3-54-g00ecf