summaryrefslogtreecommitdiff
path: root/protected/modules/cms/controllers/DefaultController.php
blob: b76d17b2ec0d423230beca9a4210b2ddb71bd44e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php

class DefaultController extends Controller
{
	public function beforeAction($action)
	{
		$this->layout = Yii::app()->controller->module->layout;
		return true;
	}

	public function actionIndex()
	{
		$this->render('index');	
	}
	public function actionAdmin()
	{
		$this->render('admin');	
	}

}