aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Report/New.pm
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2014-04-11 09:45:57 +0100
committerStruan Donald <struan@exo.org.uk>2014-04-11 09:45:57 +0100
commit03244f1e7d9a03ab704f797a19893c1efdb2b1e6 (patch)
tree30af9dad18d3c3293d9cb84e2609ebea26c843ea /perllib/FixMyStreet/App/Controller/Report/New.pm
parent62c2c7c5ee458b8c35c66e6f8992df960eb6f0eb (diff)
parent33bf702edceb459954b5b6a3ef41e6cddd6756a3 (diff)
Merge branch 'analytics-report-events'
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Report/New.pm')
-rw-r--r--perllib/FixMyStreet/App/Controller/Report/New.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Report/New.pm b/perllib/FixMyStreet/App/Controller/Report/New.pm
index bf9f171be..761215344 100644
--- a/perllib/FixMyStreet/App/Controller/Report/New.pm
+++ b/perllib/FixMyStreet/App/Controller/Report/New.pm
@@ -1155,6 +1155,7 @@ sub redirect_or_confirm_creation : Private {
$report_uri = $c->cobrand->base_url_for_report( $report ) . $report->url;
}
$c->log->info($report->user->id . ' was logged in, redirecting to /report/' . $report->id);
+ $c->flash->{created_report} = 'loggedin';
$c->res->redirect($report_uri);
$c->detach;
}