Fix route bug

This commit is contained in:
Antonio Ramirez
2017-08-06 15:26:11 +02:00
parent 189571ce8e
commit c842d1d4e9
2 changed files with 2 additions and 2 deletions

View File

@ -78,7 +78,7 @@ class SocialNetworkAccount extends ActiveRecord
$code = Yii::$app->security->generateRandomString();
$this->updateAttributes(['code' => md5($code)]);
return Url::to(['/usr/registration/connect', 'code' => $code]);
return Url::to(['/user/registration/connect', 'code' => $code]);
}
/**