22 lines
583 B
PHP
22 lines
583 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');
|
|
|
|
Route::middleware(['auth'])->group(function () {
|
|
Volt::route('start', 'start')->name('start');
|
|
Volt::route('profile', 'profile')->name('profile');
|
|
Volt::route('withdraw', 'withdraw')->name('withdraw');
|
|
});
|