AdminController::index()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %
Metric Value
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php namespace WITR\Http\Controllers\Admin;
2
3
use WITR\Http\Requests;
4
use WITR\Http\Controllers\Controller;
5
6
use Illuminate\Http\Request;
7
8
class AdminController extends Controller {
9
10
	public function __construct()
11
	{
12
		$this->middleware('auth');
13
		$this->middleware('editor');
14
	}
15
16
	/**
17
	 * Display a listing of the resource.
18
	 *
19
	 * @return Response
20
	 */
21
	public function index()
22
	{
23
		return view('admin.index');
24
	}
25
26
}
27