diff options
Diffstat (limited to 'perllib')
-rw-r--r-- | perllib/FixMyStreet/App/View/Web.pm | 2 | ||||
-rw-r--r-- | perllib/FixMyStreet/Cobrand/Default.pm | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/perllib/FixMyStreet/App/View/Web.pm b/perllib/FixMyStreet/App/View/Web.pm index e4aafe951..033ad583f 100644 --- a/perllib/FixMyStreet/App/View/Web.pm +++ b/perllib/FixMyStreet/App/View/Web.pm @@ -13,7 +13,7 @@ use Utils; __PACKAGE__->config( TEMPLATE_EXTENSION => '.html', INCLUDE_PATH => [ # - FixMyStreet->path_to( 'templates', 'web', 'default' ), + FixMyStreet->path_to( 'templates', 'web', 'base' ), ], ENCODING => 'utf8', render_die => 1, diff --git a/perllib/FixMyStreet/Cobrand/Default.pm b/perllib/FixMyStreet/Cobrand/Default.pm index 34ad5790f..8eb637879 100644 --- a/perllib/FixMyStreet/Cobrand/Default.pm +++ b/perllib/FixMyStreet/Cobrand/Default.pm @@ -24,10 +24,10 @@ Returns the path to the templates for this cobrand - by default sub path_to_web_templates { my $self = shift; - my $paths = []; - push @$paths, FixMyStreet->path_to( 'templates/web', $self->moniker )->stringify - unless $self->is_default; - push @$paths, FixMyStreet->path_to( 'templates/web/fixmystreet' )->stringify; + my $paths = [ + FixMyStreet->path_to( 'templates/web', $self->moniker )->stringify, + FixMyStreet->path_to( 'templates/web/fixmystreet' )->stringify, + ]; return $paths; } |