added llobby
This commit is contained in:
@@ -2,11 +2,16 @@
|
||||
|
||||
use App\Http\Controllers\ProfileController;
|
||||
use Illuminate\Support\Facades\Route;
|
||||
use App\View\Components\Lobby;
|
||||
|
||||
Route::get('/', function () {
|
||||
return view('welcome');
|
||||
});
|
||||
|
||||
Route::get('/lobby', function () {
|
||||
return view('lobby');
|
||||
})->middleware('auth');
|
||||
|
||||
Route::get('/dashboard', function () {
|
||||
return view('dashboard');
|
||||
})->middleware(['auth', 'verified'])->name('dashboard');
|
||||
@@ -18,3 +23,7 @@ Route::middleware('auth')->group(function () {
|
||||
});
|
||||
|
||||
require __DIR__.'/auth.php';
|
||||
|
||||
Route::get('/lobby', function () {
|
||||
return view('lobby');
|
||||
})->middleware('auth');
|
||||
Reference in New Issue
Block a user