inital version of links to diff in scm

This commit is contained in:
Rob Vermaas
2010-02-25 15:32:56 +00:00
parent 1691f3b9ae
commit 7208f79828
3 changed files with 26 additions and 1 deletions

View File

@ -18,6 +18,9 @@ sub build : Chained('/') PathPart CaptureArgs(1) {
$c->stash->{prevBuild} = getPreviousBuild($c, $c->stash->{build});
$c->stash->{prevSuccessfulBuild} = getPreviousSuccessfulBuild($c, $c->stash->{build});
$c->stash->{mappers} = [$c->model('DB::UriRevMapper')->all];
notFound($c, "Build with ID $id doesn't exist.")
if !defined $c->stash->{build};