Changeset View
Changeset View
Standalone View
Standalone View
src/applications/owners/application/PhabricatorOwnersApplication.php
| Show All 33 Lines | final class PhabricatorOwnersApplication extends PhabricatorApplication { | ||||
| public function getFlavorText() { | public function getFlavorText() { | ||||
| return pht('Adopt today!'); | return pht('Adopt today!'); | ||||
| } | } | ||||
| public function getApplicationGroup() { | public function getApplicationGroup() { | ||||
| return self::GROUP_UTILITIES; | return self::GROUP_UTILITIES; | ||||
| } | } | ||||
| public function getRemarkupRules() { | |||||
| return array( | |||||
| new PhabricatorOwnersPackageRemarkupRule(), | |||||
| ); | |||||
| } | |||||
| public function getRoutes() { | public function getRoutes() { | ||||
| return array( | return array( | ||||
| '/owners/' => array( | '/owners/' => array( | ||||
| '(?:query/(?P<queryKey>[^/]+)/)?' => 'PhabricatorOwnersListController', | '(?:query/(?P<queryKey>[^/]+)/)?' => 'PhabricatorOwnersListController', | ||||
| 'new/' => 'PhabricatorOwnersEditController', | 'new/' => 'PhabricatorOwnersEditController', | ||||
| 'package/(?P<id>[1-9]\d*)/' => 'PhabricatorOwnersDetailController', | 'package/(?P<id>[1-9]\d*)/' => 'PhabricatorOwnersDetailController', | ||||
| 'archive/(?P<id>[1-9]\d*)/' => 'PhabricatorOwnersArchiveController', | 'archive/(?P<id>[1-9]\d*)/' => 'PhabricatorOwnersArchiveController', | ||||
| 'paths/(?P<id>[1-9]\d*)/' => 'PhabricatorOwnersPathsController', | 'paths/(?P<id>[1-9]\d*)/' => 'PhabricatorOwnersPathsController', | ||||
| Show All 23 Lines | |||||