<?php

use Illuminate\Support\Facades\Route;

Route::group(['middleware' => 'web', 'prefix' => config('flatlab4.prefix')], function () {
    // Auth::routes() debe declararse en el routes/web.php del proyecto host (laravel/ui).
    Route::group(['middleware' => 'auth'], function () {
        Route::get('/', function () {
            return view('flatlab::index');
        })->name('gestion.index');
    });
});
