Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
0.00% |
0 / 2 |
|
0.00% |
0 / 2 |
CRAP | |
0.00% |
0 / 1 |
| HomeController | |
0.00% |
0 / 2 |
|
0.00% |
0 / 2 |
6 | |
0.00% |
0 / 1 |
| __construct | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| index | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
| 1 | <?php |
| 2 | |
| 3 | namespace App\Http\Controllers; |
| 4 | |
| 5 | use Illuminate\Contracts\Support\Renderable; |
| 6 | |
| 7 | class HomeController extends Controller |
| 8 | { |
| 9 | /** |
| 10 | * Create a new controller instance. |
| 11 | * |
| 12 | * @return void |
| 13 | */ |
| 14 | public function __construct() |
| 15 | { |
| 16 | $this->middleware('auth'); |
| 17 | } |
| 18 | |
| 19 | /** |
| 20 | * Show the application dashboard. |
| 21 | * |
| 22 | * @return Renderable |
| 23 | */ |
| 24 | public function index() |
| 25 | { |
| 26 | return view('home'); |
| 27 | } |
| 28 | } |