]> iEval git - plack-app-gruntmaster.git/blobdiff - lib/Gruntmaster/Page/Base.pm
Add article support
[plack-app-gruntmaster.git] / lib / Gruntmaster / Page / Base.pm
index b0b4c57fbac3cd784fa6bc32690ff44867697567..5b93f20992e00411b7d981f0af15edfc32a1e7c6 100644 (file)
@@ -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.*>) {
This page took 0.019354 seconds and 4 git commands to generate.