Fix broken redirect when editing a release
This commit is contained in:
parent
1776d9118f
commit
d92d83a82a
|
@ -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]));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue