Changeset View
Changeset View
Standalone View
Standalone View
src/applications/owners/application/PhabricatorOwnersApplication.php
| Show All 37 Lines | final class PhabricatorOwnersApplication extends PhabricatorApplication { | ||||
| public function getApplicationGroup() { | public function getApplicationGroup() { | ||||
| return self::GROUP_UTILITIES; | return self::GROUP_UTILITIES; | ||||
| } | } | ||||
| public function getRoutes() { | public function getRoutes() { | ||||
| return array( | return array( | ||||
| '/owners/' => array( | '/owners/' => array( | ||||
| '(?:query/(?P<queryKey>[^/]+)/)?' => 'PhabricatorOwnersListController', | '(?:query/(?P<queryKey>[^/]+)/)?' => 'PhabricatorOwnersListController', | ||||
| 'edit/(?P<id>[1-9]\d*)/' => 'PhabricatorOwnersEditController', | |||||
| 'new/' => 'PhabricatorOwnersEditController', | 'new/' => 'PhabricatorOwnersEditController', | ||||
| 'package/(?P<id>[1-9]\d*)/' => 'PhabricatorOwnersDetailController', | 'package/(?P<id>[1-9]\d*)/' => 'PhabricatorOwnersDetailController', | ||||
| 'paths/(?P<id>[1-9]\d*)/' => 'PhabricatorOwnersPathsController', | 'paths/(?P<id>[1-9]\d*)/' => 'PhabricatorOwnersPathsController', | ||||
| $this->getEditRoutePattern('edit/') | |||||
| => 'PhabricatorOwnersEditController', | |||||
| ), | ), | ||||
| ); | ); | ||||
| } | } | ||||
| } | } | ||||