]> iEval git - plack-app-gruntmaster.git/blobdiff - lib/Gruntmaster/Page/Log/Entry.pm
Close form element in Pb::Entry
[plack-app-gruntmaster.git] / lib / Gruntmaster / Page / Log / Entry.pm
index 4b7a70df732b645b4622988941d8278d9c53a5e9..e849876d2a67a32f9abe138457c63d4242e652a8 100644 (file)
@@ -14,7 +14,7 @@ use HTML::Template::Compiled;
 use IO::File;
 use POSIX qw/strftime/;
 use YAML::Any qw/LoadFile/;
-use Gruntmaster::Page qw/header footer/;
+use Gruntmaster::Page::Common qw/header footer/;
 
 my %templates = (
   en => <<'HTML',
@@ -33,7 +33,7 @@ $templates{$_} .= footer $_ for keys %templates;
 
 sub generate{
   my ($path, $lang) = @_;
-  $id = ($path =~ m,log/(.*)/index,)[0];
+  my $id = ($path =~ m,log/(.*)/index,)[0];
   $path =~ s,/index\.html,,;
   my $template = $templates{$lang};
 
This page took 0.022721 seconds and 4 git commands to generate.