Differential D16315 Diff 39286 src/applications/packages/application/PhabricatorPackagesApplication.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/packages/application/PhabricatorPackagesApplication.php
Show All 25 Lines | public function isPrototype() { | ||||
return true; | return true; | ||||
} | } | ||||
public function getRoutes() { | public function getRoutes() { | ||||
return array( | return array( | ||||
'/package/' => array( | '/package/' => array( | ||||
'(?P<publisherKey>[^/]+)/' => array( | '(?P<publisherKey>[^/]+)/' => array( | ||||
'' => 'PhabricatorPackagesPublisherViewController', | '' => 'PhabricatorPackagesPublisherViewController', | ||||
'(?P<packageKey>[^/]+)/' => array( | |||||
'' => 'PhabricatorPackagesPackageViewController', | |||||
), | |||||
), | ), | ||||
), | ), | ||||
'/packages/' => array( | '/packages/' => array( | ||||
'publisher/' => array( | 'publisher/' => array( | ||||
$this->getQueryRoutePattern() => | $this->getQueryRoutePattern() => | ||||
'PhabricatorPackagesPublisherListController', | 'PhabricatorPackagesPublisherListController', | ||||
$this->getEditRoutePattern('edit/') => | $this->getEditRoutePattern('edit/') => | ||||
'PhabricatorPackagesPublisherEditController', | 'PhabricatorPackagesPublisherEditController', | ||||
), | ), | ||||
'package/' => array( | |||||
$this->getQueryRoutePattern() => | |||||
'PhabricatorPackagesPackageListController', | |||||
$this->getEditRoutePattern('edit/') => | |||||
'PhabricatorPackagesPackageEditController', | |||||
), | |||||
), | ), | ||||
); | ); | ||||
} | } | ||||
} | } |