added countries support

This commit is contained in:
Mark Gregory
2026-06-15 09:17:17 +01:00
parent 63a9981c7c
commit 76521e07fe
5 changed files with 35 additions and 5 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
use Illuminate\Support\Facades\Route;
use Modules\Countries\Http\Controllers\CountriesController;
Route::prefix('countries')->name('countries.')->group(function (): void {
Route::prefix('countries')->name('countries.')->middleware(['web', 'auth'])->group(function (): void {
Route::get('/', [CountriesController::class, 'index'])->name('index');
Route::get('/{country:alpha2}', [CountriesController::class, 'show'])->name('show');
Route::get('/{country:alpha2}/edit', [CountriesController::class, 'edit'])->name('edit');