aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Cobrand/UKCouncils.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2012-05-14 16:17:14 +0100
committerMatthew Somerville <matthew@mysociety.org>2012-05-14 16:17:14 +0100
commit92aa6f070a4dc7302b3945fec6ee97da3f906ddc (patch)
tree414b89df052effc0f6b1582fdd5637a59d3f3d16 /perllib/FixMyStreet/Cobrand/UKCouncils.pm
parentbe802c7a8f1e7c7dc134281b76680f3a7d592441 (diff)
Better council text on alert page.
Diffstat (limited to 'perllib/FixMyStreet/Cobrand/UKCouncils.pm')
-rw-r--r--perllib/FixMyStreet/Cobrand/UKCouncils.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Cobrand/UKCouncils.pm b/perllib/FixMyStreet/Cobrand/UKCouncils.pm
index 9b70727ca..8a6954418 100644
--- a/perllib/FixMyStreet/Cobrand/UKCouncils.pm
+++ b/perllib/FixMyStreet/Cobrand/UKCouncils.pm
@@ -7,6 +7,10 @@ use warnings;
use Carp;
use URI::Escape;
+sub is_council {
+ 1;
+}
+
sub site_restriction {
my $self = shift;
return ( "and council='" . $self->council_id . "'", $self->council_url, { council => sprintf('%d', $self->council_id) } );