lint fix
Tests & Lint & Deploy to Railway / build (2.6.6, 20.x, 8.3) (push) Failing after 2m24s Details
Tests & Lint & Deploy to Railway / deploy (push) Has been skipped Details

This commit is contained in:
aslan 2024-03-04 09:54:14 +03:00
parent 435ad06dca
commit d0a9dcae2b
1 changed files with 4 additions and 2 deletions

View File

@ -38,7 +38,8 @@ class DirectionController extends Controller
$subjects = Subject::pluck('name', 'id');
$subjectTypes = SubjectType::pluck('name', 'id');
$directionProfiles = DirectionProfile::pluck('name', 'id');
return view('admin.catalog.direction.create',
return view(
'admin.catalog.direction.create',
compact(
'departments',
'levels',
@ -137,7 +138,8 @@ class DirectionController extends Controller
$subjects = Subject::pluck('name', 'id');
$subjectTypes = SubjectType::pluck('name', 'id');
$directionProfiles = DirectionProfile::pluck('name', 'id');
return view('admin.catalog.direction.edit',
return view(
'admin.catalog.direction.edit',
compact(
'direction',
'departments',