After editing a project/jobset, redirect back to the config tab

This commit is contained in:
Eelco Dolstra
2013-06-25 01:00:59 +02:00
parent 68a03bc674
commit a5436be2ce
4 changed files with 6 additions and 6 deletions

View File

@ -145,7 +145,7 @@ sub submit : Chained('jobset') PathPart Args(0) {
});
$c->res->redirect($c->uri_for($self->action_for("index"),
[$c->stash->{project}->name, $c->stash->{jobset}->name]));
[$c->stash->{project}->name, $c->stash->{jobset}->name]) . "#tabs-configuration");
}

View File

@ -58,7 +58,7 @@ sub submit : Chained('project') PathPart Args(0) {
updateProject($c, $c->stash->{project});
});
$c->res->redirect($c->uri_for($self->action_for("view"), [$c->stash->{project}->name]));
$c->res->redirect($c->uri_for($self->action_for("view"), [$c->stash->{project}->name]) . "#tabs-configuration");
}