MilestonesController::indexAction()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 8
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 8
rs 9.4286
cc 1
eloc 5
nc 1
nop 0
1
<?php
2
3
/*
4
 * This file is part of Gitamin.
5
 *
6
 * Copyright (C) 2015-2016 The Gitamin Team
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 Gitamin\Http\Controllers\Dashboard;
13
14
use Illuminate\Routing\Controller;
15
use Illuminate\Support\Facades\View;
16
17
class MilestonesController extends Controller
18
{
19
    public function indexAction()
20
    {
21
        $milestones = [];
22
23
        return View::make('dashboard.milestones.index')
24
            ->withPageTitle(trans('dashboard.milestones.milestones'))
25
            ->withMilestones($milestones);
26
    }
27
}
28