X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=lib%2FGruntmaster%2FPage%2FLog%2FEntry.pm;h=f3e3236f607d51a60d23c30dd99b8628ff662d00;hb=923655e1a9f847c21d3fdb254f58e705f4dd4da9;hp=2c4aa3acb5cfc1bec533ddf6e673a08e5c80e642;hpb=7f0f55d8d78f78bdc76d6ac3089c6aa085d95be6;p=plack-app-gruntmaster.git diff --git a/lib/Gruntmaster/Page/Log/Entry.pm b/lib/Gruntmaster/Page/Log/Entry.pm index 2c4aa3a..f3e3236 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 = ();