]> 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 b328d2b257fbfa84a36478a8fad500a46e8cef71..bc8e9cec1b176e81c63a37cb903cbf880fdd6206 100644 (file)
@@ -27,8 +27,10 @@ sub import {
        *{"${caller}::TITLE"} = sub () { $title };
        *{"${caller}::debug"} = sub {
                local $Log::Log4perl::caller_depth = $Log::Log4perl::caller_depth + 1;
-               $_[0]->({qw/level debug message/ => $_[1]})
+               $_[0]->{'psgix.logger'}->({qw/level debug message/ => $_[1]})
        };
+       *{"${caller}::reply"} = sub { [200, ['Content-Type' => 'text/plain'], [ @_ ] ] }
+
 }
 
 ##################################################
@@ -76,7 +78,7 @@ my %orig_header_templates = (
 <div class="container-fluid">
 
 <div id="subtitle">TITLE_GOES_HERE</div>
-
+<div id="result"></div>
 HTML
 );
 
This page took 0.016378 seconds and 4 git commands to generate.