From ac09a1a2450435975645a0a06661126e1e207b1f Mon Sep 17 00:00:00 2001 From: Chris Colborne Date: Fri, 14 Feb 2014 09:24:49 +1000 Subject: [PATCH] Fix Create New Repository link on Repositories Summary: See . After the repository rework, the Create New Repository link in Repositories goes straight to creating a phabricator hosted repo(diffusion/create), rather than the chooser create/import (diffusion/new) I updated it to point to diffusion/new the same as the New Repository link in Diffusion. As a side note, the Repositories page could probably use the Crumbs treatment. Reviewed by: epriestley --- .../controller/PhabricatorRepositoryListController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/applications/repository/controller/PhabricatorRepositoryListController.php b/src/applications/repository/controller/PhabricatorRepositoryListController.php index 0c4ea1b1fd..56f37405dd 100644 --- a/src/applications/repository/controller/PhabricatorRepositoryListController.php +++ b/src/applications/repository/controller/PhabricatorRepositoryListController.php @@ -74,7 +74,7 @@ final class PhabricatorRepositoryListController $panel = new AphrontPanelView(); $panel->setHeader('Repositories'); if ($is_admin) { - $panel->setCreateButton('Create New Repository', '/diffusion/create/'); + $panel->setCreateButton('Create New Repository', '/diffusion/new/'); } $panel->appendChild($table); $panel->setNoBackground();