diff options
author | Matthew Somerville <matthew@mysociety.org> | 2012-07-18 16:59:27 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2012-07-18 16:59:27 +0100 |
commit | 0bc2183e1d3b8cca7fab6ff87016c1ada63522a3 (patch) | |
tree | e4bb4f15a7142d0900406d63cc461a13f05d90ff /perllib/FixMyStreet/App/Controller/Report/Update.pm | |
parent | 799b23f0fe03d58116a6ebcd1fa26f5ae77338d4 (diff) |
Couple more URLs to right site (e.g. already answered questionnaire).
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Report/Update.pm')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Report/Update.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Report/Update.pm b/perllib/FixMyStreet/App/Controller/Report/Update.pm index 3a2b40c2c..298824f3b 100644 --- a/perllib/FixMyStreet/App/Controller/Report/Update.pm +++ b/perllib/FixMyStreet/App/Controller/Report/Update.pm @@ -348,7 +348,7 @@ sub redirect_or_confirm_creation : Private { if ( $update->confirmed ) { $c->forward( 'update_problem' ); $c->forward( 'signup_for_alerts' ); - my $report_uri = $c->uri_for( '/report', $update->problem_id ); + my $report_uri = $c->cobrand->base_url_for_report( $update->problem ) . $update->problem->url; $c->res->redirect($report_uri); $c->detach; } |