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
Sun, Nov 10, 12:25 PM (1 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6739515
Default Alt Text
D16587.diff (709 B)

Event Timeline