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

@@ -3,9 +3,9 @@
declare(strict_types=1);
use App\Http\Controllers\Web\DashboardController;
use App\Http\Controllers\Web\HomeController;
use Illuminate\Foundation\Application;
use Illuminate\Support\Facades\Route;
use Inertia\Inertia;
/*
|--------------------------------------------------------------------------
@@ -18,14 +18,7 @@ use Inertia\Inertia;
|
*/
Route::get('/', function () {
return Inertia::render('Welcome', [
'canLogin' => Route::has('login'),
'canRegister' => Route::has('register'),
'laravelVersion' => Application::VERSION,
'phpVersion' => PHP_VERSION,
]);
});
Route::get('/', [HomeController::class, 'index']);
Route::middleware([
'auth:web',