Passed
Branch ops-updates (277b44)
by Björn
05:09
created

IndexController::indexAction()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 3
ccs 0
cts 2
cp 0
crap 2
rs 10
1
<?php
2
/**
3
 * BB's Zend Framework 2 Components
4
 * 
5
 * AdminModule
6
 *
7
 * @package   [MyApplication]
8
 * @package   BB's Zend Framework 2 Components
9
 * @package   AdminModule
10
 * @author    Björn Bartels <[email protected]>
11
 * @link      https://gitlab.bjoernbartels.earth/groups/zf2
12
 * @license   http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0
13
 * @copyright copyright (c) 2016 Björn Bartels <[email protected]>
14
 */
15
16
namespace Admin\Controller;
17
18
use Zend\Mvc\Controller\AbstractActionController;
19
//use Zend\View\Model\ViewModel;
20
21
class IndexController extends AbstractActionController
22
{
23
    /**
24
     * redirect to acl section
25
     * @return mixed|\Zend\Http\Response|\Zend\View\Model\ViewModel
26
     */
27
	public function indexAction()
28
    {
29
        return $this->redirect()->toRoute('admin/acledit', array());
30
    }
31
}
32