Primo commit

This commit is contained in:
2023-07-03 13:32:05 +02:00
parent c5e6436c5f
commit 5f932923e2
131 changed files with 15027 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
<?php
namespace App\Http\Controllers;
use App\Models\User;
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\Contracts\Support\Renderable
*/
public function index()
{
return view('home');
}
public function roles()
{
dd(User::getAllRoles());
}
}