aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/SendReport/Email/BathNES.pm
blob: 786d36d1e9911112c2e00ada64793792053567dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package FixMyStreet::SendReport::Email::BathNES;

use Moo;

BEGIN { extends 'FixMyStreet::SendReport::Email'; }

sub get_template {
    my ( $self, $row ) = @_;
    if ( $row->category eq 'Street Light Fault' ) {
        return 'bathnes/submit-street-light-fault.txt';
    } else {
        return 'submit.txt';
    }
}

1;