aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Report/New.pm
diff options
context:
space:
mode:
authorEdmund von der Burg <evdb@mysociety.org>2011-04-14 13:05:38 +0100
committerEdmund von der Burg <evdb@mysociety.org>2011-04-14 13:05:38 +0100
commitdb605d2095fc8ada23447e93c168f375d6f44738 (patch)
treef673e0a98714787e96e57b2eccb7306ce790508c /perllib/FixMyStreet/App/Controller/Report/New.pm
parent0cc37c30af2ab2826b376cc1406f6a79dd0f46fd (diff)
fixes to import
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Report/New.pm')
-rw-r--r--perllib/FixMyStreet/App/Controller/Report/New.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Report/New.pm b/perllib/FixMyStreet/App/Controller/Report/New.pm
index 7bb289bea..744344358 100644
--- a/perllib/FixMyStreet/App/Controller/Report/New.pm
+++ b/perllib/FixMyStreet/App/Controller/Report/New.pm
@@ -1109,7 +1109,9 @@ sub redirect_to_around : Private {
delete $params->{$_} if !$params->{$_};
}
- # FIXME add partial here.
+ if ( my $token = $c->stash->{partial_token} ) {
+ $params->{partial} = $token->token;
+ }
my $around_uri = $c->uri_for( '/around', $params );