mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-17 06:48:59 +08:00
renamed create -> webapp/create, specified global options
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
use \yii\web\Controller;
|
||||
|
||||
/**
|
||||
* SiteController
|
||||
*/
|
||||
class SiteController extends Controller
|
||||
{
|
||||
public function actionIndex()
|
||||
{
|
||||
echo $this->render('index', array(
|
||||
'name' => 'Qiang',
|
||||
));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user