[1-9]\d*)' => 'PhabricatorPhurlURLViewController', '/u/(?P[1-9]\d*)' => 'PhabricatorPhurlURLAccessController', '/u/(?P[^/]+)' => 'PhabricatorPhurlURLAccessController', '/phurl/' => array( '(?:query/(?P[^/]+)/)?' => 'PhabricatorPhurlURLListController', 'url/' => array( 'create/' => 'PhabricatorPhurlURLEditController', 'edit/(?P[1-9]\d*)/' => 'PhabricatorPhurlURLEditController', ), ), ); } public function getShortRoutes() { return array( '/u/(?P[^/]+)' => 'PhabricatorPhurlShortURLController', '.*' => 'PhabricatorPhurlShortURLDefaultController', ); } }