Page MenuHomePhabricator

D16587.diff
No OneTemporary

D16587.diff

diff --git a/src/applications/phurl/query/PhabricatorPhurlURLSearchEngine.php b/src/applications/phurl/query/PhabricatorPhurlURLSearchEngine.php
--- a/src/applications/phurl/query/PhabricatorPhurlURLSearchEngine.php
+++ b/src/applications/phurl/query/PhabricatorPhurlURLSearchEngine.php
@@ -99,10 +99,13 @@
}
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();

File Metadata

Mime Type
text/plain
Expires
Wed, May 22, 4:27 AM (3 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6281275
Default Alt Text
D16587.diff (709 B)

Event Timeline