diff options
author | Struan Donald <struan@exo.org.uk> | 2011-10-10 14:50:30 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2011-10-10 14:50:30 +0100 |
commit | 6e7276b843fde5e0490c3859f4beb92538004c0e (patch) | |
tree | 51bbf37602f6f3c6c83eae8a80e22a5a99c49194 /perllib/FixMyStreet/App/Controller/Open311.pm | |
parent | a8b2d90c78103024b58b1760db72ab5c9397511b (diff) | |
parent | 5eb4f4e746283b4e945b52745503baa4da4f345f (diff) |
Merge remote branch 'origin/master' into open311-consumer
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Open311.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Open311.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Open311.pm b/perllib/FixMyStreet/App/Controller/Open311.pm index 46d7801f6..fe1494b95 100644 --- a/perllib/FixMyStreet/App/Controller/Open311.pm +++ b/perllib/FixMyStreet/App/Controller/Open311.pm @@ -55,7 +55,7 @@ sub index : Path : Args(0) { sub old_uri : Regex('^open311\.cgi') : Args(0) { my ( $self, $c ) = @_; ( my $new = $c->req->path ) =~ s/open311.cgi/open311/; - $c->res->redirect( "/$new", 301); + $c->res->redirect( $c->uri_for("/$new", $c->req->query_params), 301); } =head2 discovery |