mirror of
https://we.phorge.it/source/phorge.git
synced 2024-12-30 09:20:58 +01:00
Fix People mobile menu URLs
Summary: The mobile menu on people profiles has the incorrect order in the URLs and thus, 404s. Test Plan: Went to a profile on a mobile display, click on feed and calendar links, got to correct place. Reviewers: epriestley, btrahan Reviewed By: btrahan Subscribers: Korvin, epriestley Differential Revision: https://secure.phabricator.com/D11847
This commit is contained in:
parent
90bb14be3f
commit
15824bd516
1 changed files with 2 additions and 2 deletions
|
@ -16,8 +16,8 @@ abstract class PhabricatorPeopleController extends PhabricatorController {
|
|||
if ($name) {
|
||||
$nav->setBaseURI(new PhutilURI('/p/'));
|
||||
$nav->addFilter("{$name}/", $name);
|
||||
$nav->addFilter("feed/{$name}/", pht('Feed'));
|
||||
$nav->addFilter("calendar/{$name}/", pht('Calendar'));
|
||||
$nav->addFilter("{$name}/feed/", pht('Feed'));
|
||||
$nav->addFilter("{$name}/calendar/", pht('Calendar'));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue