for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace humhub\modules\twitchtv\controllers;
use Yii;
use humhub\modules\admin\components\Controller;
use humhub\modules\twitchtv\models\ConfigureForm;
class AdminController extends Controller
{
public function actionIndex()
$model = new ConfigureForm();
$model->loadSettings();
if ($model->load(Yii::$app->request->post()) && $model->save()) {
$this->view->saved();
}
return $this->render('index', ['model' => $model]);