X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=lib%2FGruntmaster%2FPage%2FUs%2FEntry.pm;h=373193dc0865e40f09b2581881316b1be73abd2f;hb=7dc3247307f2e86af154dc449224f22ba8923c79;hp=cfd9b36bfb22d9c2f0924041e38c65dfd021eb05;hpb=e9e5c8a440a6e3a088a4b9330650e310561ef518;p=plack-app-gruntmaster.git diff --git a/lib/Gruntmaster/Page/Us/Entry.pm b/lib/Gruntmaster/Page/Us/Entry.pm index cfd9b36..373193d 100644 --- a/lib/Gruntmaster/Page/Us/Entry.pm +++ b/lib/Gruntmaster/Page/Us/Entry.pm @@ -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);