Add authentication scaffolding

This commit is contained in:
Daniel Supernault 2018-04-15 18:00:49 -06:00
parent ef65571714
commit 2af48823ae
8 changed files with 394 additions and 0 deletions

View file

@ -0,0 +1,28 @@
<?php
namespace App\Http\Controllers;
use Illuminate\Http\Request;
class HomeController extends Controller
{
/**
* Create a new controller instance.
*
* @return void
*/
public function __construct()
{
$this->middleware('auth');
}
/**
* Show the application dashboard.
*
* @return \Illuminate\Http\Response
*/
public function index()
{
return view('home');
}
}