diff options
author | Struan Donald <struan@exo.org.uk> | 2012-02-02 16:19:17 +0000 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2012-02-02 16:19:17 +0000 |
commit | bd1be5d99f2c51f9fe2eb7751392b4b44fd74edc (patch) | |
tree | a69562c695cd88b5ca0838824e3eaeb336e3043e /perllib/FixMyStreet/Cobrand/UKCouncils.pm | |
parent | 9a9889db881e24c17f51804ba56c11bd264bbf9c (diff) |
make sure admin summary page handle new cobrand structure correctly
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 9aaa8eca0..589abd178 100644 --- a/perllib/FixMyStreet/Cobrand/UKCouncils.pm +++ b/perllib/FixMyStreet/Cobrand/UKCouncils.pm @@ -12,6 +12,10 @@ sub site_restriction { return ( "and council='" . $self->council_id . "'", $self->council_url, { council => sprintf('%d', $self->council_id) } ); } +sub restriction { + return { cobrand => shift->moniker }; +} + sub problems_clause { my $self = shift; return { council => sprintf('%d', $self->council_id) }; |