Fix URI for Phurl NUX
Summary: Fixes T11685. We missed this one straggler the recent conversion of Phurl to EditEngine, in T10673. Test Plan: Visited `/phurl/?nux=1`, clicked "Shorten a URL". Reviewers: chad, jcox Reviewed By: jcox Maniphest Tasks: T11685 Differential Revision: https://secure.phabricator.com/D16587
This commit is contained in:
@@ -99,10 +99,13 @@ final class PhabricatorPhurlURLSearchEngine
|
||||
}
|
||||
|
||||
protected function getNewUserBody() {
|
||||
$create_uri = id(new PhabricatorPhurlURLEditEngine())
|
||||
->getEditURI();
|
||||
|
||||
$create_button = id(new PHUIButtonView())
|
||||
->setTag('a')
|
||||
->setText(pht('Shorten a URL'))
|
||||
->setHref('/phurl/url/create/')
|
||||
->setHref($create_uri)
|
||||
->setColor(PHUIButtonView::GREEN);
|
||||
|
||||
$icon = $this->getApplication()->getIcon();
|
||||
|
||||
Reference in New Issue
Block a user