X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=lib%2FGruntmaster%2FPage%2FBase.pm;h=5b93f20992e00411b7d981f0af15edfc32a1e7c6;hb=eafc7f54b9d964aac41b0715e18caf5ed58ef89a;hp=b0b4c57fbac3cd784fa6bc32690ff44867697567;hpb=2ee6edcf1262d2a3059dd0859d9b750c4a2ff02b;p=plack-app-gruntmaster.git diff --git a/lib/Gruntmaster/Page/Base.pm b/lib/Gruntmaster/Page/Base.pm index b0b4c57..5b93f20 100644 --- a/lib/Gruntmaster/Page/Base.pm +++ b/lib/Gruntmaster/Page/Base.pm @@ -59,7 +59,7 @@ HTML ); sub patch_templates { - my $root = $ENV{GRUNTMASTER_TEMPLATE_ROOT} or return; + my $root = $ENV{GRUNTMASTER_TEMPLATE_ROOT} or return %{$_[0]}; my ($templates, $name) = @_; my %out = %$templates; for (<$root/$name.*>) {