forked from lix-project/hydra
This commit is contained in:
parent
187da72ecd
commit
e9b3c89c68
|
@ -18,7 +18,7 @@ sub closure : Chained('nix') PathPart {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
sub manifest : Chained('nix') PathPart Args(0) {
|
sub manifest : Chained('nix') PathPart("MANIFEST") Args(0) {
|
||||||
my ($self, $c) = @_;
|
my ($self, $c) = @_;
|
||||||
$c->stash->{current_view} = 'Hydra::View::NixManifest';
|
$c->stash->{current_view} = 'Hydra::View::NixManifest';
|
||||||
$c->stash->{narBase} = $c->uri_for($self->action_for("nar"), $c->req->captures);
|
$c->stash->{narBase} = $c->uri_for($self->action_for("nar"), $c->req->captures);
|
||||||
|
|
|
@ -529,7 +529,7 @@ sub job :Local {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
sub nix : Chained('/') PathPart('nix') CaptureArgs(0) {
|
sub nix : Chained('/') PathPart('channel/latest') CaptureArgs(0) {
|
||||||
my ($self, $c) = @_;
|
my ($self, $c) = @_;
|
||||||
|
|
||||||
my @builds = getLatestBuilds($c, $c->model('DB::Builds')); # !!! this includes failed builds
|
my @builds = getLatestBuilds($c, $c->model('DB::Builds')); # !!! this includes failed builds
|
||||||
|
|
Loading…
Reference in a new issue