Files
roxane/routes/web.php
Nebulae aea22e72af
All checks were successful
Deploy Roxane to Preprod / deploy (push) Successful in 26h10m31s
feat(wip member dashboard)
2026-04-08 15:17:05 +02:00

26 lines
773 B
PHP

<?php
use App\Http\Controllers\DashboardController;
use Illuminate\Support\Facades\Route;
use Inertia\Inertia;
Route::get('/welcome', function () {
return Inertia::render('welcome');
})->name('home');
Route::get('/', function () {
return Inertia::render('maintenance');
})->name('maintenance');
Route::middleware(['auth', 'verified'])->group(function () {
Route::get('dashboard', [DashboardController::class, 'index'])->name('dashboard');
Route::post('dashboard/service-activation', [DashboardController::class, 'requestServiceActivation'])->name('dashboard.service-activation');
});
require __DIR__.'/settings.php';
require __DIR__.'/auth.php';
require __DIR__.'/forms.php';
if (app()->environment('local')) {
require __DIR__.'/dev-routes.php';
}