Changeset View
Changeset View
Standalone View
Standalone View
src/applications/herald/application/PhabricatorHeraldApplication.php
Show First 20 Lines • Show All 45 Lines • ▼ Show 20 Lines | final class PhabricatorHeraldApplication extends PhabricatorApplication { | ||||
} | } | ||||
public function getRoutes() { | public function getRoutes() { | ||||
return array( | return array( | ||||
'/H(?P<id>[1-9]\d*)' => 'HeraldRuleViewController', | '/H(?P<id>[1-9]\d*)' => 'HeraldRuleViewController', | ||||
'/herald/' => array( | '/herald/' => array( | ||||
'(?:query/(?P<queryKey>[^/]+)/)?' => 'HeraldRuleListController', | '(?:query/(?P<queryKey>[^/]+)/)?' => 'HeraldRuleListController', | ||||
'new/' => 'HeraldNewController', | 'new/' => 'HeraldNewController', | ||||
'create/' => 'HeraldNewController', | |||||
'edit/(?:(?P<id>[1-9]\d*)/)?' => 'HeraldRuleController', | 'edit/(?:(?P<id>[1-9]\d*)/)?' => 'HeraldRuleController', | ||||
'disable/(?P<id>[1-9]\d*)/(?P<action>\w+)/' | 'disable/(?P<id>[1-9]\d*)/(?P<action>\w+)/' | ||||
=> 'HeraldDisableController', | => 'HeraldDisableController', | ||||
'test/' => 'HeraldTestConsoleController', | 'test/' => 'HeraldTestConsoleController', | ||||
'transcript/' => array( | 'transcript/' => array( | ||||
'' => 'HeraldTranscriptListController', | '' => 'HeraldTranscriptListController', | ||||
'(?:query/(?P<queryKey>[^/]+)/)?' => 'HeraldTranscriptListController', | '(?:query/(?P<queryKey>[^/]+)/)?' => 'HeraldTranscriptListController', | ||||
'(?P<id>[1-9]\d*)/' | '(?P<id>[1-9]\d*)/' | ||||
Show All 16 Lines |