Passed
Push — master ( 83de64...44197b )
by Anthony
02:43
created

DefaultController   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 2
c 1
b 0
f 0
dl 0
loc 10
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A index() 0 3 1
1
<?php
2
3
namespace PiouPiou\RibsAdminBundle\Controller;
4
5
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
6
use Symfony\Component\Routing\Annotation\Route;
7
8
class DefaultController extends AbstractController
9
{
10
    /**
11
     * @Route("/", name="ribsadmin")
12
     * @Route("/index", name="ribsadmin_index")
13
     * @Route("/navigation", name="ribsadmin_navigation")
14
     */
15
    public function index()
16
    {
17
        return $this->render('@RibsAdmin/Default/index.html.twig');
18
    }
19
}
20