X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;ds=sidebyside;f=lib%2FGruntmaster%2FPage%2FBase.pm;h=bc8e9cec1b176e81c63a37cb903cbf880fdd6206;hb=5a879d9a88280c4b0351f5e19dfb8a8269399ccb;hp=3a58c188af55920d61d198f64206aab68d04201b;hpb=191f4979def520b8be01554eb954c80ee42df38b;p=plack-app-gruntmaster.git diff --git a/lib/Gruntmaster/Page/Base.pm b/lib/Gruntmaster/Page/Base.pm index 3a58c18..bc8e9ce 100644 --- a/lib/Gruntmaster/Page/Base.pm +++ b/lib/Gruntmaster/Page/Base.pm @@ -29,6 +29,8 @@ sub import { local $Log::Log4perl::caller_depth = $Log::Log4perl::caller_depth + 1; $_[0]->{'psgix.logger'}->({qw/level debug message/ => $_[1]}) }; + *{"${caller}::reply"} = sub { [200, ['Content-Type' => 'text/plain'], [ @_ ] ] } + } ##################################################