Added very basic authorization.

This commit is contained in:
Lukas Halbritter
2018-12-06 11:49:49 +01:00
parent 85493343d6
commit 24001f6920
6 changed files with 140 additions and 59 deletions
+28
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');
}
}