Skip to content

Commit 1bfa8b2

Browse files
author
epriestley
committed
Really pin "applications" to the bottom of the menu, for serious
Summary: Pin it. Test Plan: Saw it pinned. Reviewers: chad Reviewed By: chad Subscribers: richardvanvelzen, epriestley Differential Revision: https://secure.phabricator.com/D9373
1 parent 14dab3f commit 1bfa8b2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/applications/home/controller/PhabricatorHomeController.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,12 @@ public function buildNav() {
3232
$applications,
3333
$user);
3434

35-
// Put "Applications" at the bottom.
35+
// Force "Applications" to appear at the bottom.
3636
$meta_app = 'PhabricatorApplicationApplications';
3737
$pinned = array_fuse($pinned);
3838
unset($pinned[$meta_app]);
3939
$pinned[$meta_app] = $meta_app;
40+
$applications[$meta_app] = PhabricatorApplication::getByClass($meta_app);
4041

4142
$tiles = array();
4243
foreach ($pinned as $pinned_application) {

0 commit comments

Comments
 (0)