provincias
tests / ci (push) Canceled after 0s

This commit is contained in:
2026-09-29 14:14:06 +02:00
parent e780e67e98
commit 67dad461d9
35 changed files with 1046 additions and 42 deletions
+8
View File
@@ -139,3 +139,11 @@ Route::middleware(['auth', 'verified', 'can:manage-portal'])->prefix('management
Route::post('{resource}', [$controller, 'save'])->whereIn('resource', ['sectors', 'opportunities'])->name('store');
Route::put('{resource}/{id}', [$controller, 'save'])->whereIn('resource', ['sectors', 'opportunities'])->whereNumber('id')->name('update');
});
// Serialize management requests for the same session so background dropdown/coordinate
// reads cannot overwrite validation feedback from a concurrent form submission.
foreach (Route::getRoutes() as $managementRoute) {
if (str_starts_with($managementRoute->uri(), 'management/')) {
$managementRoute->block(10, 10);
}
}