Commit eb9e0113 authored by xiabin's avatar xiabin

修改文件命名规范

parent 3c29764a
......@@ -7,7 +7,7 @@ use \Yii;
class MyCourseController extends \yii\web\Controller
{
public $layout = 'class_center';
public $layout = 'classCenter';
public function actionIndex()
{
......
......@@ -26,7 +26,7 @@ use Yii;
class UserCenterController extends Controller
{
public $layout = 'user_center';
public $layout = 'userCenter';
public $defaultAction = 'info';
......
......@@ -99,7 +99,7 @@ $this->registerJs($js, View::POS_END);
</div>
<div class="auto-main">
<?= $this->render('center_header') ?>
<?= $this->render('centerHeader') ?>
<div class="tp-main">
<div class="container">
......
......@@ -97,7 +97,7 @@ $this->registerJs($js, View::POS_END);
</div>
</div>
<div class="auto-main">
<?= $this->render('center_header') ?>
<?= $this->render('centerHeader') ?>
<div class="tp-main">
<div class="container">
<?= $content ?>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment