Added exit to correct redirect after Rebuild and Delete build is clicked

Without `exit` it's not redirected.
This commit is contained in:
Maks Rafalko 2013-07-15 23:30:25 +03:00
commit 2576f33029

View file

@ -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;
}
/**