added countries support expanded for ISO 3166 standard merged in new support
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Support\Facades\Route;
|
||||
use Modules\Countries\Http\Controllers\Api\CountryLookupController;
|
||||
|
||||
if (class_exists(CountryLookupController::class)) {
|
||||
Route::get('/countries', [CountryLookupController::class, 'index'])->name('api.countries.index');
|
||||
Route::get('/countries/{country:alpha2}', [CountryLookupController::class, 'show'])->name('api.countries.show');
|
||||
}
|
||||
Reference in New Issue
Block a user