0
0
Fork 0
forked from lix-project/hydra

Fix creating jobsets in a RESTful way

This commit is contained in:
Eelco Dolstra 2013-10-24 17:35:58 +02:00
parent c719bebcb4
commit f551de21f7

View file

@ -10,7 +10,7 @@ use Hydra::Helper::CatalystUtils;
sub jobsetChain :Chained('/') :PathPart('jobset') :CaptureArgs(2) {
my ($self, $c, $projectName, $jobsetName) = @_;
$c->stash->{jobsetName} //= $jobsetName;
$c->stash->{params}->{name} //= $jobsetName;
my $project = $c->model('DB::Projects')->find($projectName);