diff options
author | Dave Arter <davea@mysociety.org> | 2016-06-15 14:05:42 +0100 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2016-06-15 14:11:07 +0100 |
commit | 986fcfb9917ad32bbbe059d9f8061f806039e5fa (patch) | |
tree | 9705068d4b25ba212d3c93c883ed3f4ffdad0d81 /perllib/FixMyStreet/Cobrand/Default.pm | |
parent | b5b3b8e3cee367a8f82b4179a5d03f4d30e1215e (diff) |
Remove stringify call from template paths
Diffstat (limited to 'perllib/FixMyStreet/Cobrand/Default.pm')
-rw-r--r-- | perllib/FixMyStreet/Cobrand/Default.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/perllib/FixMyStreet/Cobrand/Default.pm b/perllib/FixMyStreet/Cobrand/Default.pm index ee71f583f..76d73d96e 100644 --- a/perllib/FixMyStreet/Cobrand/Default.pm +++ b/perllib/FixMyStreet/Cobrand/Default.pm @@ -27,7 +27,7 @@ Returns the path to the templates for this cobrand - by default sub path_to_web_templates { my $self = shift; my $paths = [ - FixMyStreet->path_to( 'templates/web', $self->moniker )->stringify, + FixMyStreet->path_to( 'templates/web', $self->moniker ), ]; return $paths; } @@ -44,8 +44,8 @@ Returns the path to the email templates for this cobrand - by default sub path_to_email_templates { my ( $self, $lang_code ) = @_; my $paths = [ - FixMyStreet->path_to( 'templates', 'email', $self->moniker, $lang_code )->stringify, - FixMyStreet->path_to( 'templates', 'email', $self->moniker )->stringify, + FixMyStreet->path_to( 'templates', 'email', $self->moniker, $lang_code ), + FixMyStreet->path_to( 'templates', 'email', $self->moniker ), ]; return $paths; } |