Changeset View
Changeset View
Standalone View
Standalone View
src/applications/config/application/PhabricatorConfigApplication.php
Show All 36 Lines | final class PhabricatorConfigApplication extends PhabricatorApplication { | ||||
public function getRoutes() { | public function getRoutes() { | ||||
return array( | return array( | ||||
'/config/' => array( | '/config/' => array( | ||||
'' => 'PhabricatorConfigListController', | '' => 'PhabricatorConfigListController', | ||||
'all/' => 'PhabricatorConfigAllController', | 'all/' => 'PhabricatorConfigAllController', | ||||
'edit/(?P<key>[\w\.\-]+)/' => 'PhabricatorConfigEditController', | 'edit/(?P<key>[\w\.\-]+)/' => 'PhabricatorConfigEditController', | ||||
'group/(?P<key>[^/]+)/' => 'PhabricatorConfigGroupController', | 'group/(?P<key>[^/]+)/' => 'PhabricatorConfigGroupController', | ||||
'welcome/' => 'PhabricatorConfigWelcomeController', | 'welcome/' => 'PhabricatorConfigWelcomeController', | ||||
'database/(?:(?P<database>[^/]+)/(?:(?P<table>[^/]+)/)?)?' | 'database/'. | ||||
'(?:(?P<database>[^/]+)/'. | |||||
'(?:(?P<table>[^/]+)/'. | |||||
'(?:(?P<column>[^/]+)/)?)?)?' | |||||
=> 'PhabricatorConfigDatabaseController', | => 'PhabricatorConfigDatabaseController', | ||||
'(?P<verb>ignore|unignore)/(?P<key>[^/]+)/' | '(?P<verb>ignore|unignore)/(?P<key>[^/]+)/' | ||||
=> 'PhabricatorConfigIgnoreController', | => 'PhabricatorConfigIgnoreController', | ||||
'issue/' => array( | 'issue/' => array( | ||||
'' => 'PhabricatorConfigIssueListController', | '' => 'PhabricatorConfigIssueListController', | ||||
'(?P<key>[^/]+)/' => 'PhabricatorConfigIssueViewController', | '(?P<key>[^/]+)/' => 'PhabricatorConfigIssueViewController', | ||||
), | ), | ||||
), | ), | ||||
); | ); | ||||
} | } | ||||
} | } |