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/SeeSomething.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/SeeSomething.pm')
-rw-r--r-- | perllib/FixMyStreet/Cobrand/SeeSomething.pm | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/perllib/FixMyStreet/Cobrand/SeeSomething.pm b/perllib/FixMyStreet/Cobrand/SeeSomething.pm index 88d5f6b78..e5e937267 100644 --- a/perllib/FixMyStreet/Cobrand/SeeSomething.pm +++ b/perllib/FixMyStreet/Cobrand/SeeSomething.pm @@ -22,14 +22,6 @@ sub problems_clause { return { bodies_str => { IN => $self->council_id } }; } -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 area_check { my ( $self, $params, $context ) = @_; |