2025-06-29 08:50:03 +02:00
|
|
|
<?php
|
|
|
|
|
|
2025-06-29 17:24:35 +02:00
|
|
|
use App\Http\Controllers\ArticlesController;
|
2025-06-29 18:33:18 +02:00
|
|
|
use App\Http\Controllers\LogsController;
|
2025-06-29 08:50:03 +02:00
|
|
|
use Illuminate\Support\Facades\Route;
|
|
|
|
|
use Inertia\Inertia;
|
|
|
|
|
|
|
|
|
|
Route::get('/', function () {
|
|
|
|
|
return Inertia::render('welcome');
|
|
|
|
|
})->name('home');
|
|
|
|
|
|
|
|
|
|
Route::middleware(['auth', 'verified'])->group(function () {
|
|
|
|
|
Route::get('dashboard', function () {
|
|
|
|
|
return Inertia::render('dashboard');
|
|
|
|
|
})->name('dashboard');
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
require __DIR__.'/settings.php';
|
|
|
|
|
require __DIR__.'/auth.php';
|
2025-06-29 17:24:35 +02:00
|
|
|
|
|
|
|
|
Route::get('/articles', ArticlesController::class)->name('articles');
|
2025-06-29 18:33:18 +02:00
|
|
|
Route::get('/logs', LogsController::class)->name('logs');
|