diff options
author | Struan Donald <struan@exo.org.uk> | 2011-05-12 14:48:31 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2011-05-12 14:48:31 +0100 |
commit | bae6a35bb125ccb372dde0b4a311b839095bd61e (patch) | |
tree | 5b30ff92a28631c3c483f81d6ea594b45918d613 | |
parent | 14dfac073cb4c45a1f5b2c01a7e1e15307fdb64c (diff) |
better method name
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Alert.pm | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Alert.pm b/perllib/FixMyStreet/App/Controller/Alert.pm index ed0e80a51..09f62d8ec 100644 --- a/perllib/FixMyStreet/App/Controller/Alert.pm +++ b/perllib/FixMyStreet/App/Controller/Alert.pm @@ -62,8 +62,6 @@ sub list : Path('list') : Args(0) { $c->forward('prettify_pc'); - $c->forward('setup_location_info'); - # truncate the lat,lon for nicer urls ( $c->stash->{latitude}, $c->stash->{longitude} ) = map { Utils::truncate_coordinate($_) } @@ -95,7 +93,7 @@ sub list : Path('list') : Args(0) { $c->stash->{cobrand_form_elements} = $c->cobrand->form_elements('alerts'); - $c->forward( 'setup_rss_feeds' ); + $c->forward( 'setup_coordinate_rss_feeds' ); } =head2 subscribe @@ -452,14 +450,14 @@ sub process_user : Private { $c->stash->{alert_user} = $alert_user; } -=head2 setup_rss_feeds +=head2 setup_coordinate_rss_feeds Takes the latitide and longitude from the stash and uses them to generate uris for the local rss feeds =cut -sub setup_rss_feeds : Private { +sub setup_coordinate_rss_feeds : Private { my ( $self, $c ) = @_; $c->stash->{rss_feed_id} = |