]> iEval git - gruntmaster-page.git/blobdiff - lib/Gruntmaster/Page/Us/Entry.pm
Heeere's Plack/PSGI!
[gruntmaster-page.git] / lib / Gruntmaster / Page / Us / Entry.pm
index cfd9b36bfb22d9c2f0924041e38c65dfd021eb05..373193dc0865e40f09b2581881316b1be73abd2f 100644 (file)
@@ -17,10 +17,9 @@ HTML
 };
 
 sub _generate{
-       my ($self, $htc, $path, $lang) = @_;
-
-       $path =~ m,^us/([^/]+)\.html$,;
-       local $_ = $1;
+       my ($self, $htc, $lang, $logger, $us) = @_;
+       debug $logger => "language is '$lang', user is '$us'";
+       local $_ = $us;
 
        $htc->param(name => user_name);
        $htc->param(town => user_town);
This page took 0.015661 seconds and 4 git commands to generate.