Differential D14717 Diff 35594 src/applications/project/controller/PhabricatorProjectBoardViewController.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/project/controller/PhabricatorProjectBoardViewController.php
Show First 20 Lines • Show All 772 Lines • ▼ Show 20 Lines | private function getCreateURI() { | ||||
// TODO: This should be cleaned up, but maybe we're going to make options | // TODO: This should be cleaned up, but maybe we're going to make options | ||||
// for each column or board? | // for each column or board? | ||||
$edit_config = id(new ManiphestEditEngine()) | $edit_config = id(new ManiphestEditEngine()) | ||||
->setViewer($viewer) | ->setViewer($viewer) | ||||
->loadDefaultEditConfiguration(); | ->loadDefaultEditConfiguration(); | ||||
if ($edit_config) { | if ($edit_config) { | ||||
$form_key = $edit_config->getIdentifier(); | $form_key = $edit_config->getIdentifier(); | ||||
$create_uri = "/maniphest/editpro/form/{$form_key}/"; | $create_uri = "/maniphest/task/edit/form/{$form_key}/"; | ||||
} else { | } else { | ||||
$create_uri = '/maniphest/editpro/'; | $create_uri = '/maniphest/task/edit/'; | ||||
} | } | ||||
return $create_uri; | return $create_uri; | ||||
} | } | ||||
} | } |