Added exit to correct redirect after Rebuild and Delete build is clicked
Without `exit` it's not redirected.
This commit is contained in:
parent
34bb69ec5e
commit
2576f33029
1 changed files with 2 additions and 0 deletions
|
|
@ -79,6 +79,7 @@ class BuildController extends \PHPCI\Controller
|
|||
$build = $this->_buildStore->save($build);
|
||||
|
||||
header('Location: '.PHPCI_URL.'build/view/' . $build->getId());
|
||||
exit;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
@ -94,6 +95,7 @@ class BuildController extends \PHPCI\Controller
|
|||
$this->_buildStore->delete($build);
|
||||
|
||||
header('Location: '.PHPCI_URL.'project/view/' . $build->getProjectId());
|
||||
exit;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue