Where-in-the-World-is-Ben/routes/web.php

9 lines
270 B
PHP
Raw Normal View History

2022-08-23 19:11:43 +00:00
<?php
use Illuminate\Support\Facades\Route;
2022-11-01 00:50:43 +00:00
use App\Http\Controllers\TrackerController;
2022-08-23 19:11:43 +00:00
2022-11-01 00:50:43 +00:00
Route::get('/past-trips', [TrackerController::class, 'show_past_trips_list']);
2022-10-19 22:53:52 +00:00
2022-11-01 00:50:43 +00:00
Route::get('/{tripId?}', [TrackerController::class, 'show_trip'])->where('tripId', '[0-9a-z]{20}');