You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
393 B
22 lines
393 B
11 years ago
|
<?php
|
||
|
/**
|
||
|
* This is the template for generating a controller class within a module.
|
||
|
*
|
||
|
* @var yii\base\View $this
|
||
|
* @var yii\gii\generators\module\Generator $generator
|
||
|
*/
|
||
|
echo "<?php\n";
|
||
|
?>
|
||
|
|
||
11 years ago
|
namespace <?= $generator->getControllerNamespace() ?>;
|
||
11 years ago
|
|
||
|
use yii\web\Controller;
|
||
|
|
||
|
class DefaultController extends Controller
|
||
|
{
|
||
|
public function actionIndex()
|
||
|
{
|
||
11 years ago
|
return $this->render('index');
|
||
11 years ago
|
}
|
||
|
}
|