aboutsummaryrefslogtreecommitdiffstats
path: root/perllib
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2014-07-07 16:37:07 +0100
committerMatthew Somerville <matthew@mysociety.org>2014-07-08 17:59:17 +0100
commit8f2c5942e3aa5d3b85e76b7353ab7ada87f97fc6 (patch)
tree9a554d14de4f64e72792a79c0d8132455d9d9383 /perllib
parentab5b658aba7e3af20c82287dfd0ea6646433b423 (diff)
Move UK-specific text to separate templates.
Diffstat (limited to 'perllib')
-rw-r--r--perllib/FixMyStreet/Cobrand/FixMyStreet.pm9
1 files changed, 9 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Cobrand/FixMyStreet.pm b/perllib/FixMyStreet/Cobrand/FixMyStreet.pm
index 36f381085..7a0f868d8 100644
--- a/perllib/FixMyStreet/Cobrand/FixMyStreet.pm
+++ b/perllib/FixMyStreet/Cobrand/FixMyStreet.pm
@@ -4,6 +4,15 @@ use mySociety::Gaze;
use constant COUNCIL_ID_BROMLEY => 2482;
+# Special extra
+sub path_to_web_templates {
+ my $self = shift;
+ return [
+ FixMyStreet->path_to( 'templates/web/fixmystreet.com' )->stringify,
+ FixMyStreet->path_to( 'templates/web/fixmystreet' )->stringify
+ ];
+}
+
# FixMyStreet should return all cobrands
sub restriction {
return {};