su-secret-santa/routes/web.php

24 lines
591 B
PHP

<?php
use Illuminate\Support\Facades\Route;
use Laravel\Fortify\Features;
use Livewire\Volt\Volt;
Route::middleware(['santa'])->group(function () {
Route::get('/token/{id}', function ($id) {
return $id; // todo return the token from participant auth controller
});
});
Route::get('/', function () {
return view('welcome');
})->name('home');
Volt::route('start', 'pages.start')->name('start');
Volt::route('profile', 'pages.profile')->name('profile');
Volt::route('withdraw', 'pages.withdraw')->name('withdraw');
Route::middleware(['auth'])->group(function () {
});