Fix past trip view
This commit is contained in:
parent
ff3c265968
commit
6563a4b5e2
3 changed files with 5 additions and 114 deletions
|
@ -15,6 +15,10 @@ use GuzzleHttp\Client;
|
|||
|
|
||||
*/
|
||||
|
||||
Route::get('/past-trips', function () {
|
||||
return view('past-trips');
|
||||
});
|
||||
|
||||
Route::get('/{tripId?}', function ($tripId = null) {
|
||||
if (!$tripId && !config('app.current_trip_id')) return view('no-trip');
|
||||
|
||||
|
@ -62,7 +66,3 @@ Route::get('/{tripId?}', function ($tripId = null) {
|
|||
return 'Something went wrong';
|
||||
}
|
||||
});
|
||||
|
||||
Route::get('/past-trips', function () {
|
||||
return view('past-trips');
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue