aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Alert.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Alert.pm')
-rw-r--r--perllib/FixMyStreet/App/Controller/Alert.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Alert.pm b/perllib/FixMyStreet/App/Controller/Alert.pm
index 98e1236e1..bea5345e3 100644
--- a/perllib/FixMyStreet/App/Controller/Alert.pm
+++ b/perllib/FixMyStreet/App/Controller/Alert.pm
@@ -96,8 +96,7 @@ sub rss : Private {
$c->res->redirect($url);
}
elsif ( $feed =~ /^local:([\d\.-]+):([\d\.-]+)$/ ) {
- ( my $id = $1 ) =~ tr{:_}{/+};
- $url = $c->cobrand->base_url() . '/rss/l/' . $id;
+ $url = $c->cobrand->base_url() . '/rss/l/' . $1 . ',' . $2;
$c->res->redirect($url);
}
else {