[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', 'comment/(?P[1-9]\d*)/' => 'PhabricatorPhurlURLCommentController', ), ), ); } public function getShortRoutes() { return array( '/u/(?P[^/]+)' => 'PhabricatorPhurlShortURLController', '.*' => 'PhabricatorPhurlShortURLDefaultController', ); } }