added teams
CI/CD / test_and_check_app (push) Failing after 2m15s
CI/CD / Publish immutable image (push) Skipped

This commit is contained in:
2026-09-11 02:28:44 +02:00
parent 76bd1536bf
commit 6220a26852
22 changed files with 818 additions and 28 deletions
-2
View File
@@ -10,9 +10,7 @@ Route::middleware(['auth'])->group(function () {
Route::get('settings/profile', [ProfileController::class, 'edit'])->name('profile.edit');
Route::patch('settings/profile', [ProfileController::class, 'update'])->name('profile.update');
});
Route::middleware(['auth', 'verified'])->group(function () {
Route::delete('settings/profile', [ProfileController::class, 'destroy'])->name('profile.destroy');
Route::get('settings/security', [SecurityController::class, 'edit'])
+8 -1
View File
@@ -1,11 +1,18 @@
<?php
use App\Http\Controllers\TeamController;
use Illuminate\Support\Facades\Route;
Route::inertia('/', 'Welcome')->name('home');
Route::middleware(['auth', 'verified'])->group(function () {
Route::middleware(['auth'])->group(function () {
Route::inertia('dashboard', 'Dashboard')->name('dashboard');
Route::controller(TeamController::class)->prefix('teams')->name('teams.')->group(function () {
Route::get('/', 'index')->name('index');
Route::get('/create', 'create')->name('create');
});
});
require __DIR__.'/settings.php';