1
0
Fork 0
wow-raid-bingo/routes/web.php
2021-10-18 11:56:52 +02:00

30 lines
837 B
PHP

<?php
use Illuminate\Support\Facades\Route;
use App\Http\Livewire\Game;
use App\Http\Livewire\Setup;
use App\Http\Controllers\SettingController;
use Illuminate\Support\Facades\Session;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/
Route::get('/', function() {
return redirect()->route('setup');
});
Route::get('/setup', Setup::class)->name('setup');
route::get('/setup/{setting}', [ SettingController::class, "hash" ])->name('setup-hash');
Route::get('/game', Game::class)->name('game');