Changeset View
Changeset View
Standalone View
Standalone View
src/applications/herald/application/PhabricatorHeraldApplication.php
Show First 20 Lines • Show All 62 Lines • ▼ Show 20 Lines | return array( | ||||
=> 'HeraldTranscriptController', | => 'HeraldTranscriptController', | ||||
), | ), | ||||
'webhook/' => array( | 'webhook/' => array( | ||||
$this->getQueryRoutePattern() => 'HeraldWebhookListController', | $this->getQueryRoutePattern() => 'HeraldWebhookListController', | ||||
'view/(?P<id>\d+)/(?:request/(?P<requestID>[^/]+)/)?' => | 'view/(?P<id>\d+)/(?:request/(?P<requestID>[^/]+)/)?' => | ||||
'HeraldWebhookViewController', | 'HeraldWebhookViewController', | ||||
$this->getEditRoutePattern('edit/') => 'HeraldWebhookEditController', | $this->getEditRoutePattern('edit/') => 'HeraldWebhookEditController', | ||||
'test/(?P<id>\d+)/' => 'HeraldWebhookTestController', | 'test/(?P<id>\d+)/' => 'HeraldWebhookTestController', | ||||
'key/' => array( | 'key/(?P<action>view|cycle)/(?P<id>\d+)/' => | ||||
'view/(?P<id>\d+)/' => 'HeraldWebhookViewKeyController', | 'HeraldWebhookKeyController', | ||||
'cycle/(?P<id>\d+)/' => 'HeraldWebhookCycleKeyController', | |||||
), | |||||
), | ), | ||||
), | ), | ||||
); | ); | ||||
} | } | ||||
protected function getCustomCapabilities() { | protected function getCustomCapabilities() { | ||||
return array( | return array( | ||||
HeraldManageGlobalRulesCapability::CAPABILITY => array( | HeraldManageGlobalRulesCapability::CAPABILITY => array( | ||||
Show All 10 Lines |