Project - use hashtag as a way to access project profile in URI, e.g. /project/hashtag/
Summary: Fixes T4022. Hooks up the project profile controller to understanding URIs like /project/hashtag/ Also, makes handles have the new /project/hashtag/ URI by default, thus upselling that feature super duper heavily. Test Plan: clicked some project links, noted pretty uri and page working nicely. Reviewers: epriestley Reviewed By: epriestley Subscribers: chad, epriestley, Korvin Maniphest Tasks: T4022 Differential Revision: https://secure.phabricator.com/D9260
This commit is contained in:
@@ -67,6 +67,10 @@ final class PhabricatorApplicationProject extends PhabricatorApplication {
|
||||
'history/(?P<id>[1-9]\d*)/' => 'PhabricatorProjectHistoryController',
|
||||
'(?P<action>watch|unwatch)/(?P<id>[1-9]\d*)/'
|
||||
=> 'PhabricatorProjectWatchController',
|
||||
|
||||
),
|
||||
'/tag/' => array(
|
||||
'(?P<slug>[^/]+)/' => 'PhabricatorProjectProfileController',
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user