Differential D10162 Diff 24449 src/applications/phrequent/application/PhabricatorPhrequentApplication.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/phrequent/application/PhabricatorPhrequentApplication.php
Show All 35 Lines | public function getEventListeners() { | ||||
); | ); | ||||
} | } | ||||
public function getRoutes() { | public function getRoutes() { | ||||
return array( | return array( | ||||
'/phrequent/' => array( | '/phrequent/' => array( | ||||
'(?:query/(?P<queryKey>[^/]+)/)?' => 'PhrequentListController', | '(?:query/(?P<queryKey>[^/]+)/)?' => 'PhrequentListController', | ||||
'track/(?P<verb>[a-z]+)/(?P<phid>[^/]+)/' | 'track/(?P<verb>[a-z]+)/(?P<phid>[^/]+)/' | ||||
=> 'PhrequentTrackController' | => 'PhrequentTrackController', | ||||
'create/' => 'PhrequentEditController', | |||||
'edit/(?<id>[0-9]+)/' => 'PhrequentEditController', | |||||
'export/(?<key>[^/]+)/' => 'PhrequentExportController' | |||||
), | ), | ||||
); | ); | ||||
} | } | ||||
public function loadStatus(PhabricatorUser $user) { | public function loadStatus(PhabricatorUser $user) { | ||||
$status = array(); | $status = array(); | ||||
// Show number of objects that are currently | // Show number of objects that are currently | ||||
Show All 13 Lines |