19 lines
427 B
PHP
19 lines
427 B
PHP
<?php
|
|
|
|
use App\Http\Controllers\PublicUserController;
|
|
use Illuminate\Support\Facades\Route;
|
|
|
|
Route::get('/', function() {
|
|
return view('welcome');
|
|
});
|
|
|
|
Route::prefix('/api')->group(function() {
|
|
Route::controller(PublicUserController::class)->prefix('/users')->group(function() {
|
|
Route::put('/register', 'register');
|
|
});
|
|
});
|
|
|
|
Route::get('/session', function() {
|
|
exit(print_r(session()->all(), true));
|
|
});
|