Files
opensem/routes/Shop/Offers.php
Valentin Lab d9ae84310d fix: avoid sharing route to JSON data to offers
No paths leads there, and there are no reason to keep this route.
2025-12-13 22:02:46 +01:00

9 lines
252 B
PHP

<?php
Route::prefix('Offres')->name('Offers.')->group(function () {
// Public offer pages are not exposed; keep the route returning 404 to avoid leaking data.
Route::get('show/{id}', function () {
abort(404);
})->name('show');
});