forked from lix-project/hydra
* Fixed a broken redirect when deleting a release set.
This commit is contained in:
parent
607d5641b6
commit
10ae24fd3c
|
@ -156,7 +156,7 @@ sub releases :Local {
|
||||||
$c->model('DB')->schema->txn_do(sub {
|
$c->model('DB')->schema->txn_do(sub {
|
||||||
$releaseSet->delete;
|
$releaseSet->delete;
|
||||||
});
|
});
|
||||||
return $c->res->redirect($c->uri_for("/releasesets", $projectName));
|
return $c->res->redirect($c->uri_for($c->controller('Project')->action_for('view'), [$project->name]));
|
||||||
}
|
}
|
||||||
|
|
||||||
else { error($c, "Unknown subcommand."); }
|
else { error($c, "Unknown subcommand."); }
|
||||||
|
|
Loading…
Reference in a new issue