console generate-user

This commit is contained in:
akosse
2020-01-24 12:05:34 +03:00
parent eb09f95ff8
commit c85a047f77
4 changed files with 9 additions and 14 deletions

View File

@ -162,17 +162,6 @@ class UserCardController extends Controller
return $this->redirect(['index']);
}
/**
* Lists all UserCard models.
* @return mixed
*/
public function actionGenerate()
{
$massage = UserCard::generateUserForUserCard();
return $this->render('generate', ['massage' => $massage]);
}
/**
* Finds the UserCard model based on its primary key value.
* If the model is not found, a 404 HTTP exception will be thrown.