[1-9]\d*)' => 'PhabricatorSlowvotePollController', '/vote/' => array( '(?:query/(?P[^/]+)/)?' => 'PhabricatorSlowvoteListController', 'create/' => 'PhabricatorSlowvoteEditController', 'edit/(?P[1-9]\d*)/' => 'PhabricatorSlowvoteEditController', '(?P[1-9]\d*)/' => 'PhabricatorSlowvoteVoteController', 'comment/(?P[1-9]\d*)/' => 'PhabricatorSlowvoteCommentController', ), ); } public function getCustomCapabilities() { return array( PhabricatorSlowvoteCapabilityDefaultView::CAPABILITY => array( 'caption' => pht('Default view policy for new polls.'), ), ); } }