From 052ac71e9db13c01a92dfed5a393f803c7a82801 Mon Sep 17 00:00:00 2001 From: mirivlad Date: Thu, 26 Mar 2026 09:44:57 +0800 Subject: [PATCH] =?UTF-8?q?Fix:=20=D0=A3=D0=B1=D1=80=D0=B0=D0=BD=D1=8B=20s?= =?UTF-8?q?hallow=20routes=20=D0=B4=D0=BB=D1=8F=20=D0=B3=D1=80=D1=83=D0=BF?= =?UTF-8?q?=D0=BF.=20=D0=A2=D0=B5=D0=BF=D0=B5=D1=80=D1=8C=20=D0=B2=D1=81?= =?UTF-8?q?=D0=B5=20=D0=BC=D0=B0=D1=80=D1=88=D1=80=D1=83=D1=82=D1=8B=20?= =?UTF-8?q?=D0=B8=D1=81=D0=BF=D0=BE=D0=BB=D1=8C=D0=B7=D1=83=D1=8E=D1=82=20?= =?UTF-8?q?organization?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Qwen-Coder --- resources/views/admin/groups/edit.blade.php | 4 ++-- routes/web.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/views/admin/groups/edit.blade.php b/resources/views/admin/groups/edit.blade.php index d308d26..8992508 100644 --- a/resources/views/admin/groups/edit.blade.php +++ b/resources/views/admin/groups/edit.blade.php @@ -15,7 +15,7 @@

Редактировать группу

- Назад + Назад к организации
@@ -29,7 +29,7 @@ @endif -
+ @csrf @method('PUT')
diff --git a/routes/web.php b/routes/web.php index 081d7da..bdbfc9a 100644 --- a/routes/web.php +++ b/routes/web.php @@ -35,6 +35,6 @@ Route::middleware('auth')->group(function () { // Администрирование Route::prefix('admin')->name('admin.')->group(function () { Route::resource('organizations', OrganizationController::class); - Route::resource('organizations.groups', GroupController::class)->shallow(); + Route::resource('organizations.groups', GroupController::class); }); });