diff --git a/src/lib/Hydra/Controller/Root.pm b/src/lib/Hydra/Controller/Root.pm index 75e217a9..4edd9bac 100644 --- a/src/lib/Hydra/Controller/Root.pm +++ b/src/lib/Hydra/Controller/Root.pm @@ -156,7 +156,7 @@ sub releases :Local { $c->model('DB')->schema->txn_do(sub { $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."); }