Fix: Убраны shallow routes для групп. Теперь все маршруты используют organization

Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
mirivlad
2026-03-26 09:44:57 +08:00
co-authored by Qwen-Coder
parent 0f3bfc087d
commit 052ac71e9d
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -15,7 +15,7 @@
<div class="d-flex justify-content-between flex-wrap flex-md-nowrap align-items-center pt-3 pb-2 mb-3 border-bottom">
<h1 class="h2">Редактировать группу</h1>
<a href="{{ route('admin.organizations.show', $organization) }}" class="btn btn-secondary btn-sm">
<i class="bi bi-arrow-left"></i> Назад
<i class="bi bi-arrow-left"></i> Назад к организации
</a>
</div>
@@ -29,7 +29,7 @@
</div>
@endif
<form action="{{ route('admin.groups.update', $group) }}" method="POST">
<form action="{{ route('admin.organizations.groups.update', [$organization, $group]) }}" method="POST">
@csrf
@method('PUT')
<div class="row">