* Fixed a broken redirect when deleting a release set.

This commit is contained in:
Eelco Dolstra 2009-04-09 11:43:49 +00:00
parent 607d5641b6
commit 10ae24fd3c

View file

@ -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."); }