diff --git a/app/Http/Controllers/admin/Catalog/Direction/SubjectTypeController.php b/app/Http/Controllers/admin/Catalog/Direction/SubjectTypeController.php index 10fee30..f092bf8 100644 --- a/app/Http/Controllers/admin/Catalog/Direction/SubjectTypeController.php +++ b/app/Http/Controllers/admin/Catalog/Direction/SubjectTypeController.php @@ -36,9 +36,9 @@ class SubjectTypeController extends Controller return redirect()->route('subject_types.index'); } - public function show(SubjectType $type): View + public function show(SubjectType $subjectType): View { - return view('admin.catalog.direction.subject_type.show', compact('type')); + return view('admin.catalog.direction.subject_type.show', compact('subjectType')); } public function edit(SubjectType $subjectType): View diff --git a/resources/views/admin/catalog/direction/show.blade.php b/resources/views/admin/catalog/direction/show.blade.php index 91b2171..cfb1c67 100644 --- a/resources/views/admin/catalog/direction/show.blade.php +++ b/resources/views/admin/catalog/direction/show.blade.php @@ -8,7 +8,7 @@ -> {{ $faculty->name }} -> - {{ $department->name }} + {{ $department->name }} -> {{ $direction->name }} diff --git a/resources/views/admin/catalog/direction/subject_type/show.blade.php b/resources/views/admin/catalog/direction/subject_type/show.blade.php index dea2bd5..d0f13b3 100644 --- a/resources/views/admin/catalog/direction/subject_type/show.blade.php +++ b/resources/views/admin/catalog/direction/subject_type/show.blade.php @@ -3,15 +3,15 @@ @auth()
{{ $type->name }}
+{{ $subjectType->name }}
{{ $type->description }}
+{{ $subjectType->description }}
{{ $type->slug }}
+{{ $subjectType->slug }}
{{ $type->position }}
+{{ $subjectType->position }}