mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-19 05:12:41 +01:00
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:
parent
396be07c15
commit
88ff486aae
1 changed files with 4 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue