aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet
diff options
context:
space:
mode:
authorStruan Donald <struan@exo.org.uk>2012-04-24 15:49:12 +0100
committerStruan Donald <struan@exo.org.uk>2012-04-24 15:49:12 +0100
commitd7ea16b79d6dd9fe65c4550edf393bbf8fd9d04d (patch)
tree4b7c00e01b05d9170968040049e940010cba978c /perllib/FixMyStreet
parent4aa639173602d06ec85532c8598d99983b8340b4 (diff)
New style map Barnet Cobrand Work in Progress
Also, pull out map positioning JS to a separate file to make cobrands a bit more modular.
Diffstat (limited to 'perllib/FixMyStreet')
-rw-r--r--perllib/FixMyStreet/Cobrand/Barnet.pm8
1 files changed, 8 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Barnet.pm b/perllib/FixMyStreet/Cobrand/Barnet.pm
index 6f115ec63..eceb656b3 100644
--- a/perllib/FixMyStreet/Cobrand/Barnet.pm
+++ b/perllib/FixMyStreet/Cobrand/Barnet.pm
@@ -9,6 +9,14 @@ sub council_area { return 'Barnet'; }
sub council_name { return 'Barnet Council'; }
sub council_url { return 'barnet'; }
+sub path_to_web_templates {
+ my $self = shift;
+ return [
+ FixMyStreet->path_to( 'templates/web', $self->moniker )->stringify,
+ FixMyStreet->path_to( 'templates/web/fixmystreet' )->stringify
+ ];
+}
+
sub disambiguate_location {
my $self = shift;
return {