mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-27 01:02:42 +01:00
Fix URI map rules to restore public feed
Summary: The /public/ rule needs to come before the more general subfilter rule. Test Plan: Hit "all", "my projects" and "public" feeds, they all work. Reviewers: davidreuss Reviewed By: davidreuss CC: aran, epriestley Differential Revision: https://secure.phabricator.com/D1667
This commit is contained in:
parent
07e5591015
commit
e48b290094
1 changed files with 5 additions and 4 deletions
|
@ -34,8 +34,11 @@ class AphrontDefaultApplicationConfiguration
|
||||||
return $this->getResourceURIMapRules() + array(
|
return $this->getResourceURIMapRules() + array(
|
||||||
'/(?:(?P<filter>jump)/)?$' =>
|
'/(?:(?P<filter>jump)/)?$' =>
|
||||||
'PhabricatorDirectoryMainController',
|
'PhabricatorDirectoryMainController',
|
||||||
'/(?:(?P<filter>feed)/)(?:(?P<subfilter>[^/]+)/)?$' =>
|
'/(?:(?P<filter>feed)/)' => array(
|
||||||
|
'public/$' => 'PhabricatorFeedPublicStreamController',
|
||||||
|
'(?:(?P<subfilter>[^/]+)/)?$' =>
|
||||||
'PhabricatorDirectoryMainController',
|
'PhabricatorDirectoryMainController',
|
||||||
|
),
|
||||||
'/directory/' => array(
|
'/directory/' => array(
|
||||||
'(?P<id>\d+)/$'
|
'(?P<id>\d+)/$'
|
||||||
=> 'PhabricatorDirectoryCategoryViewController',
|
=> 'PhabricatorDirectoryCategoryViewController',
|
||||||
|
@ -368,8 +371,6 @@ class AphrontDefaultApplicationConfiguration
|
||||||
=> 'PhabricatorCountdownDeleteController'
|
=> 'PhabricatorCountdownDeleteController'
|
||||||
),
|
),
|
||||||
|
|
||||||
'/feed/public/$' => 'PhabricatorFeedPublicStreamController',
|
|
||||||
|
|
||||||
'/V(?P<id>\d+)$' => 'PhabricatorSlowvotePollController',
|
'/V(?P<id>\d+)$' => 'PhabricatorSlowvotePollController',
|
||||||
'/vote/' => array(
|
'/vote/' => array(
|
||||||
'(?:view/(?P<view>\w+)/)?$' => 'PhabricatorSlowvoteListController',
|
'(?:view/(?P<view>\w+)/)?$' => 'PhabricatorSlowvoteListController',
|
||||||
|
|
Loading…
Reference in a new issue