aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Alert.pm
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2011-05-05 15:57:25 +0100
committerStruan Donald <struan@exo.org.uk>2011-05-05 15:57:25 +0100
commita45958b500ced0943703960f9319ac480e6ce905 (patch)
treecf8b77b845dfa327f481f96015f0ba7148abceef /perllib/FixMyStreet/App/Controller/Alert.pm
parentc245810f3b2549dfeded4511cd4ec1b13e5bdfd3 (diff)
create and use location controller
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Alert.pm')
-rw-r--r--perllib/FixMyStreet/App/Controller/Alert.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Alert.pm b/perllib/FixMyStreet/App/Controller/Alert.pm
index ffe3c705c..0c434cbe0 100644
--- a/perllib/FixMyStreet/App/Controller/Alert.pm
+++ b/perllib/FixMyStreet/App/Controller/Alert.pm
@@ -72,8 +72,8 @@ sub list :Path('list') :Args(0) {
# my %input_h = map { $_ => $q->param($_) ? ent($q->param($_)) : '' } @vars;
#
# Try to create a location for whatever we have
- unless ($c->forward('/around/determine_location_from_coords')
- || $c->forward('/around/determine_location_from_pc') ) {
+ unless ($c->forward('/location/determine_location_from_coords')
+ || $c->forward('/location/determine_location_from_pc') ) {
# FIXME: do error display here
# return FixMyStreet::Geocode::list_choices($error, '/alert', $q) if ref($error) eq 'ARRAY';
# return alert_front_page($q, $error) if $error;