Differential D20154 Diff 48161 src/applications/releeph/controller/request/ReleephRequestDifferentialCreateController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/releeph/controller/request/ReleephRequestDifferentialCreateController.php
Show First 20 Lines • Show All 90 Lines • ▼ Show 20 Lines | public function handleRequest(AphrontRequest $request) { | ||||
return id(new AphrontDialogResponse()) | return id(new AphrontDialogResponse()) | ||||
->setDialog($dialog); | ->setDialog($dialog); | ||||
} | } | ||||
private function buildReleephRequestURI(ReleephBranch $branch) { | private function buildReleephRequestURI(ReleephBranch $branch) { | ||||
$uri = $branch->getURI('request/'); | $uri = $branch->getURI('request/'); | ||||
return id(new PhutilURI($uri)) | return id(new PhutilURI($uri)) | ||||
->setQueryParam('D', $this->revision->getID()); | ->replaceQueryParam('D', $this->revision->getID()); | ||||
} | } | ||||
} | } |