]> iEval git - gruntmaster-page.git/blobdiff - lib/Gruntmaster/Page/Base.pm
Add register and passwd actions
[gruntmaster-page.git] / lib / Gruntmaster / Page / Base.pm
index 3a58c188af55920d61d198f64206aab68d04201b..bc8e9cec1b176e81c63a37cb903cbf880fdd6206 100644 (file)
@@ -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'], [ @_ ] ] }
+
 }
 
 ##################################################
This page took 0.024803 seconds and 4 git commands to generate.