diff options
author | Matthew Somerville <matthew@mysociety.org> | 2012-05-14 16:17:14 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2012-05-14 16:17:14 +0100 |
commit | 92aa6f070a4dc7302b3945fec6ee97da3f906ddc (patch) | |
tree | 414b89df052effc0f6b1582fdd5637a59d3f3d16 /perllib/FixMyStreet/Cobrand/UKCouncils.pm | |
parent | be802c7a8f1e7c7dc134281b76680f3a7d592441 (diff) |
Better council text on alert page.
Diffstat (limited to 'perllib/FixMyStreet/Cobrand/UKCouncils.pm')
-rw-r--r-- | perllib/FixMyStreet/Cobrand/UKCouncils.pm | 4 |
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) } ); |