Fix bad NUX link in Legalpad search view
Summary: See <https://discourse.phabricator-community.org/t/clicking-the-create-a-document-button-on-fresly-installed-phabricators-legalpad-results-in-404/1088>. This URI isn't correct. Test Plan: Visited {nav Use Results > New User State} in developer mode, clicked green button. Before: 404. After: taken to the edit screen. Differential Revision: https://secure.phabricator.com/D19024
This commit is contained in:
@@ -176,7 +176,7 @@ final class LegalpadDocumentSearchEngine
|
|||||||
$create_button = id(new PHUIButtonView())
|
$create_button = id(new PHUIButtonView())
|
||||||
->setTag('a')
|
->setTag('a')
|
||||||
->setText(pht('Create a Document'))
|
->setText(pht('Create a Document'))
|
||||||
->setHref('/legalpad/create/')
|
->setHref('/legalpad/edit/')
|
||||||
->setColor(PHUIButtonView::GREEN);
|
->setColor(PHUIButtonView::GREEN);
|
||||||
|
|
||||||
$icon = $this->getApplication()->getIcon();
|
$icon = $this->getApplication()->getIcon();
|
||||||
|
|||||||
Reference in New Issue
Block a user