public function getManagerOptions() { $options = parent::getManagerOptions(); $options['url'] = Url::toRoute(['connect', 'path' => Yii::$app->request->getQueryParam('path', '')]); return $options; }