Fix broken redirect when editing a release

This commit is contained in:
Eelco Dolstra 2013-08-15 02:57:36 +02:00
parent 1776d9118f
commit d92d83a82a

View file

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