aboutsummaryrefslogtreecommitdiffstats
path: root/perllib
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2012-08-23 16:27:00 +0100
committerStruan Donald <struan@exo.org.uk>2012-08-23 16:27:00 +0100
commitce3622a64d372eb4ee0c3a27f943061a434e06e4 (patch)
tree7494c586d38e9eb8306adc48966e6bc60c079e34 /perllib
parentee7770bb0130e2e0483af203c7410dad8269bdd7 (diff)
allow adding of message manager messages as updates rather than as issues
Diffstat (limited to 'perllib')
-rw-r--r--perllib/FixMyStreet/App/Controller/Report/Update.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Report/Update.pm b/perllib/FixMyStreet/App/Controller/Report/Update.pm
index c49123a90..1141e213a 100644
--- a/perllib/FixMyStreet/App/Controller/Report/Update.pm
+++ b/perllib/FixMyStreet/App/Controller/Report/Update.pm
@@ -348,6 +348,7 @@ sub redirect_or_confirm_creation : Private {
if ( $update->confirmed ) {
$c->forward( 'update_problem' );
$c->forward( 'signup_for_alerts' );
+
my $report_uri = $c->cobrand->base_url_for_report( $update->problem ) . $update->problem->url;
$c->res->redirect($report_uri);
$c->detach;