summaryrefslogtreecommitdiff
path: root/protected/modules/cms/controllers/DefaultController.php
diff options
context:
space:
mode:
authorPatrick Seeger <pseeger@ccwn.org>2012-06-25 23:31:16 +0200
committerPatrick Seeger <pseeger@ccwn.org>2012-06-25 23:31:16 +0200
commitd58f7cf02dc0c5ce2df2f0db00361fe673074be8 (patch)
treede5b7064e43255a471de4cb469a7db71bce3d328 /protected/modules/cms/controllers/DefaultController.php
parent82f5b7dc1890c03ebec349225e76ea0b22ec6c1d (diff)
Änderungen das alles tut, editor, cms
Diffstat (limited to 'protected/modules/cms/controllers/DefaultController.php')
-rw-r--r--protected/modules/cms/controllers/DefaultController.php20
1 files changed, 20 insertions, 0 deletions
diff --git a/protected/modules/cms/controllers/DefaultController.php b/protected/modules/cms/controllers/DefaultController.php
new file mode 100644
index 0000000..b76d17b
--- /dev/null
+++ b/protected/modules/cms/controllers/DefaultController.php
@@ -0,0 +1,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');
+ }
+
+}