Completed
Push — master ( 30ea98...ad161f )
by Jake
02:20
created

AdminController::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 3
Bugs 0 Features 1
Metric Value
c 3
b 0
f 1
dl 0
loc 3
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace MeestorHok\Blue\Http\Controllers;
4
 
5
use Illuminate\Routing\Controller;
6
use Auth;
7
8
class AdminController extends Controller
9
{
10
    public function __construct () {
11
        $this->middleware('auth');
12
    }
13
    
14
    public function index () {
15
        return redirect('admin/dashboard');
16
    }
17
    
18
    public function showDashboard () {
19
        return view('Blue::admin.dashboard');
20
    }
21
}