From d92d83a82ad6f3b5e7ca2b37a0072db07b111bac Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 15 Aug 2013 02:57:36 +0200 Subject: [PATCH] Fix broken redirect when editing a release --- src/lib/Hydra/Controller/Release.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/Hydra/Controller/Release.pm b/src/lib/Hydra/Controller/Release.pm index 126cad6f..5007fdec 100644 --- a/src/lib/Hydra/Controller/Release.pm +++ b/src/lib/Hydra/Controller/Release.pm @@ -72,7 +72,7 @@ sub submit : Chained('release') PathPart('submit') Args(0) { txn_do($c->model('DB')->schema, sub { updateRelease($c, $c->stash->{release}); }); - $c->res->redirect($c->uri_for($self->action_for("project"), + $c->res->redirect($c->uri_for($self->action_for("view"), [$c->stash->{project}->name, $c->stash->{release}->name])); } }