X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=lib%2FGruntmaster%2FPage%2FLog%2FEntry.pm;h=beceae7e2f1cf01dc4807570f8fb97c4ce46ab58;hb=7dc3247307f2e86af154dc449224f22ba8923c79;hp=2c4aa3acb5cfc1bec533ddf6e673a08e5c80e642;hpb=e9e5c8a440a6e3a088a4b9330650e310561ef518;p=gruntmaster-page.git diff --git a/lib/Gruntmaster/Page/Log/Entry.pm b/lib/Gruntmaster/Page/Log/Entry.pm index 2c4aa3a..beceae7 100644 --- a/lib/Gruntmaster/Page/Log/Entry.pm +++ b/lib/Gruntmaster/Page/Log/Entry.pm @@ -24,11 +24,9 @@ HTML }; sub _generate{ - my ($self, $htc, $path, $lang) = @_; - - $path =~ m,^(?:ct/([^/]+)/)?log/job/([^/]+)\.html$,; - local $Gruntmaster::Data::contest = $1; - my $id = $2; + my ($self, $htc, $lang, $logger, $ct, $id) = @_; + debug $logger => "language is $lang, contest is $ct and id is $id"; + local $Gruntmaster::Data::contest = $ct; my @tests = ();