aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Around.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2012-04-26 13:54:11 +0100
committerMatthew Somerville <matthew@mysociety.org>2012-04-26 13:54:11 +0100
commit9a758e4041f5221a2fbf8c4121b2601d2162241e (patch)
tree18868e484019d21e8a97b691eea2f53c7eadbbd2 /perllib/FixMyStreet/App/Controller/Around.pm
parentcad3ef53f5cb1b47ff8922aef188a831b4110aab (diff)
Area type for Barangay, and hack for working out/in boundaries. Error handling needs looking at.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Around.pm')
-rw-r--r--perllib/FixMyStreet/App/Controller/Around.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perllib/FixMyStreet/App/Controller/Around.pm b/perllib/FixMyStreet/App/Controller/Around.pm
index e110cf8d7..0901599ed 100644
--- a/perllib/FixMyStreet/App/Controller/Around.pm
+++ b/perllib/FixMyStreet/App/Controller/Around.pm
@@ -45,7 +45,7 @@ sub around_index : Path : Args(0) {
|| $c->forward('/location/determine_location_from_pc');
# Check to see if the spot is covered by a council - if not show an error.
- return unless $c->forward('check_location_is_acceptable');
+ return unless $c->cobrand->moniker eq 'fixmybarangay' || $c->forward('check_location_is_acceptable');
# If we have a partial - redirect to /report/new so that it can be
# completed.