X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=lib%2FApp%2FWeb%2FOof.pm;h=e7d93f5d856a10621d526b79a6a3194eb86130c4;hb=0c3c4e708d0264e803583a4ac497e8e8e519b128;hp=93ab4fe40d62e3096a8d9dae9cef2b947897a581;hpb=85e0d9a252dc252b9f79df382ed14d07ffb688c3;p=app-web-oof.git diff --git a/lib/App/Web/Oof.pm b/lib/App/Web/Oof.pm index 93ab4fe..e7d93f5 100644 --- a/lib/App/Web/Oof.pm +++ b/lib/App/Web/Oof.pm @@ -6,7 +6,7 @@ use warnings; use utf8; use parent qw/Plack::Component/; -our $VERSION = '0.000_003'; +our $VERSION = '0.000_004'; use DBIx::Simple; use File::Slurp; @@ -255,7 +255,7 @@ sub app { my $app = shift; sub { my $res = $app->(@_); - push @{$res->[2]}, $footer if $res->[0] == 200; + $res->[2][0] =~ s,,$footer, if $res->[0] == 200; $res; } };