From 10ae24fd3c5812c1c106d62bdf3148cbbe9ac73e Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 9 Apr 2009 11:43:49 +0000 Subject: [PATCH] * Fixed a broken redirect when deleting a release set. --- src/lib/Hydra/Controller/Root.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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."); }