From 6dd53655a5b2bd4c0acadfb7e7c1acc9815995d0 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Tue, 9 Feb 2010 15:51:33 +0000 Subject: [PATCH] * Omitting the template name doesn't work everywhere. --- src/lib/Hydra/Base/Controller/ListBuilds.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/Hydra/Base/Controller/ListBuilds.pm b/src/lib/Hydra/Base/Controller/ListBuilds.pm index 5e5dd8cc..69765971 100644 --- a/src/lib/Hydra/Base/Controller/ListBuilds.pm +++ b/src/lib/Hydra/Base/Controller/ListBuilds.pm @@ -49,6 +49,8 @@ sub errors : Chained('get_builds') PathPart Args(0) { sub all : Chained('get_builds') PathPart { my ($self, $c) = @_; + $c->stash->{template} = 'all.tt'; + my $page = int($c->req->param('page') || "1") || 1; my $resultsPerPage = 20;