Changeset View
Changeset View
Standalone View
Standalone View
src/applications/paste/application/PhabricatorPasteApplication.php
| Show All 35 Lines | public function getRoutes() { | ||||
| return array( | return array( | ||||
| '/P(?P<id>[1-9]\d*)(?:\$(?P<lines>\d+(?:-\d+)?))?' | '/P(?P<id>[1-9]\d*)(?:\$(?P<lines>\d+(?:-\d+)?))?' | ||||
| => 'PhabricatorPasteViewController', | => 'PhabricatorPasteViewController', | ||||
| '/paste/' => array( | '/paste/' => array( | ||||
| '(query/(?P<queryKey>[^/]+)/)?' => 'PhabricatorPasteListController', | '(query/(?P<queryKey>[^/]+)/)?' => 'PhabricatorPasteListController', | ||||
| 'create/' => 'PhabricatorPasteEditController', | 'create/' => 'PhabricatorPasteEditController', | ||||
| $this->getEditRoutePattern('edit/') => 'PhabricatorPasteEditController', | $this->getEditRoutePattern('edit/') => 'PhabricatorPasteEditController', | ||||
| 'raw/(?P<id>[1-9]\d*)/' => 'PhabricatorPasteRawController', | 'raw/(?P<id>[1-9]\d*)/' => 'PhabricatorPasteRawController', | ||||
| 'comment/(?P<id>[1-9]\d*)/' => 'PhabricatorPasteCommentController', | |||||
| ), | ), | ||||
| ); | ); | ||||
| } | } | ||||
| public function supportsEmailIntegration() { | public function supportsEmailIntegration() { | ||||
| return true; | return true; | ||||
| } | } | ||||
| ▲ Show 20 Lines • Show All 52 Lines • Show Last 20 Lines | |||||