for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* Asset Packagist
*
* @link https://github.com/hiqdev/asset-packagist
* @package asset-packagist
* @license BSD-3-Clause
* @copyright Copyright (c) 2016, HiQDev (http://hiqdev.com/)
*/
namespace hiqdev\assetpackagist\controllers;
class SiteController extends \yii\web\Controller
{
public function actions()
return [
'error' => [
'class' => \yii\web\ErrorAction::class,
],
'captcha' => [
'class' => \yii\captcha\CaptchaAction::class,
'fixedVerifyCode' => YII_ENV_TEST ? 'testme' : null,
];
}
public function actionIndex()
return $this->render('index');
public function actionAbout()
return $this->render('about');
public function actionContact()
return $this->render('contact');