AdministrationController::indexAction()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 3
c 0
b 0
f 0
rs 10
nc 1
nop 0
cc 1
1
<?php
2
3
/*
4
 * This file is part of the thealternativezurich/feedback project.
5
 *
6
 * (c) Florian Moser <[email protected]>
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace App\Controller;
13
14
use App\Controller\Administration\Base\BaseController;
15
use Symfony\Component\HttpFoundation\Response;
16
use Symfony\Component\Routing\Annotation\Route;
17
18
/**
19
 * @Route("/administration")
20
 */
21
class AdministrationController extends BaseController
22
{
23
    /**
24
     * @Route("", name="administration")
25
     *
26
     * @return Response
27
     */
28
    public function indexAction()
29
    {
30
        return $this->redirectToRoute('administration_semesters');
31
    }
32
}
33