Completed
Pull Request — master (#39)
by Elias
13:10
created

SiteController::actionRootNode()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 0
dl 0
loc 6
rs 10
c 0
b 0
f 0
1
<?php
2
/**
3
 * @link http://www.diemeisterei.de/
4
 * @copyright Copyright (c) 2016 diemeisterei GmbH, Stuttgart
5
 *
6
 * For the full copyright and license information, please view the LICENSE
7
 * file that was distributed with this source code.
8
 */
9
10
namespace app\controllers;
11
12
use dmstr\web\traits\AccessBehaviorTrait;
13
use yii\web\Controller;
14
15
/**
16
 * Site controller.
17
 */
18
class SiteController extends Controller
19
{
20
    use AccessBehaviorTrait;
21
22
    /**
23
     * Renders the start page.
24
     *
25
     * @return string
26
     */
27
    public function actionIndex()
28
    {
29
        return $this->render('index');
30
    }
31
}
32