diff options
author | Matthew Somerville <matthew@mysociety.org> | 2014-07-07 17:08:01 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2014-07-08 17:59:17 +0100 |
commit | eed7e093af42c443f81c22ad31de3baf4f8e9fec (patch) | |
tree | ffbdb3d65bae025352fda577c7167ae5763a0fa5 /perllib/FixMyStreet/Cobrand/Hart.pm | |
parent | ba8d2c4ba6f6c0216d618e77d368b640a2b92d1e (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/Hart.pm')
-rw-r--r-- | perllib/FixMyStreet/Cobrand/Hart.pm | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Hart.pm b/perllib/FixMyStreet/Cobrand/Hart.pm index cab834b69..adccfce67 100644 --- a/perllib/FixMyStreet/Cobrand/Hart.pm +++ b/perllib/FixMyStreet/Cobrand/Hart.pm @@ -16,14 +16,6 @@ sub problems_clause { return { bodies_str => { like => '%2333%' } }; } -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; my $string = shift; |