Completed
Push — master ( 27ed2b...a6fcc7 )
by Quim González
06:38
created

TasksTimelineController::index()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace App\Http\Controllers;
4
5
use App\TaskEvent;
6
use Illuminate\Http\Request;
7
use Illuminate\Support\Facades\Auth;
8
use stdClass;
9
10
class TasksTimelineController extends Controller
11
{
12
13
14
    public function index(){
15
16
        $tasks_events = TaskEvent::all();
17
18
            return view('timeline', ['task_events'=> $tasks_events]);
19
20
    }
21
}
22