Differential D12661 Diff 30413 src/applications/calendar/application/PhabricatorCalendarApplication.php
Changeset View
Changeset View
Standalone View
Standalone View
src/applications/calendar/application/PhabricatorCalendarApplication.php
Show All 36 Lines | return array( | ||||
new PhabricatorCalendarRemarkupRule(), | new PhabricatorCalendarRemarkupRule(), | ||||
); | ); | ||||
} | } | ||||
public function getRoutes() { | public function getRoutes() { | ||||
return array( | return array( | ||||
'/E(?P<id>[1-9]\d*)' => 'PhabricatorCalendarEventViewController', | '/E(?P<id>[1-9]\d*)' => 'PhabricatorCalendarEventViewController', | ||||
'/calendar/' => array( | '/calendar/' => array( | ||||
'(?:query/(?P<queryKey>[^/]+)/)?' | '(?:query/(?P<queryKey>[^/]+)/(?:(?P<year>\d+)/(?P<month>\d+)/)?)?' | ||||
=> 'PhabricatorCalendarEventListController', | => 'PhabricatorCalendarEventListController', | ||||
'event/' => array( | 'event/' => array( | ||||
'create/' | 'create/' | ||||
=> 'PhabricatorCalendarEventEditController', | => 'PhabricatorCalendarEventEditController', | ||||
'edit/(?P<id>[1-9]\d*)/' | 'edit/(?P<id>[1-9]\d*)/' | ||||
=> 'PhabricatorCalendarEventEditController', | => 'PhabricatorCalendarEventEditController', | ||||
'cancel/(?P<id>[1-9]\d*)/' | 'cancel/(?P<id>[1-9]\d*)/' | ||||
=> 'PhabricatorCalendarEventCancelController', | => 'PhabricatorCalendarEventCancelController', | ||||
Show All 36 Lines |