diff options
author | Matthew Somerville <matthew@mysociety.org> | 2012-07-19 19:43:54 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2012-07-19 19:45:06 +0100 |
commit | 0a2f498a4fb591d8c5072895de736738b6bda1b7 (patch) | |
tree | 85dda5f6e946acca767ed0759ecfe70679eb1a85 /perllib/FixMyStreet/App/Controller | |
parent | 8dc2821130092d16ee96d703165bd3c505aa867f (diff) |
Remove remaining UK specific code from Default cobrand. Fixes #186.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller')
-rw-r--r-- | perllib/FixMyStreet/App/Controller/Reports.pm | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Reports.pm b/perllib/FixMyStreet/App/Controller/Reports.pm index 6014faac3..60d6d05a9 100644 --- a/perllib/FixMyStreet/App/Controller/Reports.pm +++ b/perllib/FixMyStreet/App/Controller/Reports.pm @@ -214,13 +214,6 @@ sub council_check : Private { $q_council =~ s/\+/ /g; $q_council =~ s/\.html//; - # Manual misspelling redirect - if ($q_council =~ /^rhondda cynon taff$/i) { - my $url = $c->uri_for( '/reports/rhondda+cynon+taf' ); - $c->res->redirect( $url ); - $c->detach(); - } - # Check cobrand specific incantations - e.g. ONS codes for UK, # Oslo/ kommunes sharing a name in Norway return if $c->cobrand->reports_council_check( $c, $q_council ); |