Added extension system

This commit is contained in:
Constantin Graf
2024-03-04 18:42:52 +01:00
parent 504908ecd7
commit bb42b0940a
13 changed files with 590 additions and 94 deletions

View File

@@ -0,0 +1,20 @@
<?php
declare(strict_types=1);
namespace App\Http\Controllers\Web;
use Illuminate\Http\RedirectResponse;
use Illuminate\Support\Facades\Auth;
class HomeController extends Controller
{
public function index(): RedirectResponse
{
if (Auth::check()) {
return redirect()->route('dashboard');
} else {
return redirect('login');
}
}
}