SiteController.php 218 Bytes
Newer Older
Qiang Xue committed
1 2
<?php

crtlib committed
3 4
namespace app\controllers;

Qiang Xue committed
5 6 7 8
use yii\web\Controller;

class SiteController extends Controller
{
9
    public $defaultAction = 'hello';
Qiang Xue committed
10

11 12 13 14
    public function actionHello()
    {
        return 'hello world';
    }
Qiang Xue committed
15
}