aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/Cobrand/Reading.pm
diff options
context:
space:
mode:
authorMatthew Somerville <matthew@mysociety.org>2014-07-07 17:08:01 +0100
committerMatthew Somerville <matthew@mysociety.org>2014-07-08 17:59:17 +0100
commiteed7e093af42c443f81c22ad31de3baf4f8e9fec (patch)
treeffbdb3d65bae025352fda577c7167ae5763a0fa5 /perllib/FixMyStreet/Cobrand/Reading.pm
parentba8d2c4ba6f6c0216d618e77d368b640a2b92d1e (diff)
Tidy up cobrand template inheritance.
Most cobrands can just inherit from the Default function, with only those needing an exception specified.
Diffstat (limited to 'perllib/FixMyStreet/Cobrand/Reading.pm')
-rw-r--r--perllib/FixMyStreet/Cobrand/Reading.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Reading.pm b/perllib/FixMyStreet/Cobrand/Reading.pm
index 4cd3f82e2..462006532 100644
--- a/perllib/FixMyStreet/Cobrand/Reading.pm
+++ b/perllib/FixMyStreet/Cobrand/Reading.pm
@@ -11,6 +11,11 @@ sub council_area { return 'Reading'; }
sub council_name { return 'Reading City Council'; }
sub council_url { return 'reading'; }
+sub path_to_web_templates {
+ my $self = shift;
+ return [ FixMyStreet->path_to( 'templates/web', $self->moniker )->stringify ];
+}
+
sub disambiguate_location {
my $self = shift;
return {