scripthost/routes/web.php
Javier Feliz 9b2b993418
Some checks are pending
linter / quality (push) Waiting to run
tests / ci (push) Waiting to run
Setup
2025-07-22 17:49:01 -04:00

25 lines
718 B
PHP

<?php
use App\Livewire\Settings\Appearance;
use App\Livewire\Settings\Password;
use App\Livewire\Settings\Profile;
use Illuminate\Support\Facades\Route;
Route::get('/', function () {
return view('welcome');
})->name('home');
Route::view('dashboard', 'dashboard')
->middleware(['auth', 'verified'])
->name('dashboard');
Route::middleware(['auth'])->group(function () {
Route::redirect('settings', 'settings/profile');
Route::get('settings/profile', Profile::class)->name('settings.profile');
Route::get('settings/password', Password::class)->name('settings.password');
Route::get('settings/appearance', Appearance::class)->name('settings.appearance');
});
require __DIR__.'/auth.php';