Passed
Push — ft/appmove ( db87fd...97613e )
by Philippe
45:05 queued 26:47
created

DashboardController::show()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 2
nc 1
nop 0
dl 0
loc 5
c 0
b 0
f 0
cc 1
rs 10
1
<?php
2
3
namespace Thinktomorrow\Chief\App\Http\Controllers\Back;
4
5
use Thinktomorrow\Chief\HealthMonitor\Monitor;
6
use Thinktomorrow\Chief\App\Http\Controllers\Controller;
7
8
class DashboardController extends Controller
9
{
10
    public function show()
11
    {
12
        app(Monitor::class)->check();
13
14
        return view('chief::back.dashboard');
15
    }
16
17
    public function gettingStarted()
18
    {
19
        return view('chief::back.dashboard');
20
    }
21
}
22