feat(event): add slug field to events and update related resources and routes
This commit is contained in:
@@ -6,9 +6,9 @@ use Illuminate\Support\Facades\Route;
|
||||
|
||||
require __DIR__.'/adminapp.php';
|
||||
|
||||
Route::prefix('tenants/{tenant:codigo}')->group(function (): void {
|
||||
Route::prefix('tenants/{tenant:codigo}')->scopeBindings()->group(function (): void {
|
||||
Route::get('events', [PublicEventController::class, 'index']);
|
||||
Route::get('events/{event}', [PublicEventController::class, 'show']);
|
||||
Route::get('events/{event:slug}', [PublicEventController::class, 'show']);
|
||||
});
|
||||
|
||||
Route::middleware('auth:sanctum')->post(
|
||||
|
||||
Reference in New Issue
Block a user