8 lines
270 B
PHP
8 lines
270 B
PHP
<?php
|
|
|
|
use Illuminate\Support\Facades\Route;
|
|
use App\Http\Controllers\TrackerController;
|
|
|
|
Route::get('/past-trips', [TrackerController::class, 'show_past_trips_list']);
|
|
|
|
Route::get('/{tripId?}', [TrackerController::class, 'show_trip'])->where('tripId', '[0-9a-z]{20}');
|