diff --git a/app/Http/Controllers/admin/Catalog/EducationFormController.php b/app/Http/Controllers/admin/Catalog/Direction/EducationFormController.php similarity index 76% rename from app/Http/Controllers/admin/Catalog/EducationFormController.php rename to app/Http/Controllers/admin/Catalog/Direction/EducationFormController.php index 8cd1e08..5c6778d 100644 --- a/app/Http/Controllers/admin/Catalog/EducationFormController.php +++ b/app/Http/Controllers/admin/Catalog/Direction/EducationFormController.php @@ -1,10 +1,10 @@ directions; - return view('admin.catalog.education_form.show', compact('educationForm', 'directions')); + return view('admin.catalog.direction.education_form.show', compact('educationForm', 'directions')); } public function edit(EducationForm $educationForm) { - return view('admin.catalog.education_form.edit', compact('educationForm')); + return view('admin.catalog.direction.education_form.edit', compact('educationForm')); } public function update(UpdateEducationFormRequest $request, EducationForm $educationForm) diff --git a/app/Http/Controllers/admin/Catalog/EducationLevelController.php b/app/Http/Controllers/admin/Catalog/Direction/EducationLevelController.php similarity index 79% rename from app/Http/Controllers/admin/Catalog/EducationLevelController.php rename to app/Http/Controllers/admin/Catalog/Direction/EducationLevelController.php index 45a0875..089d825 100644 --- a/app/Http/Controllers/admin/Catalog/EducationLevelController.php +++ b/app/Http/Controllers/admin/Catalog/Direction/EducationLevelController.php @@ -1,10 +1,10 @@ directions(); return view( - 'admin.catalog.education_level.show', + 'admin.catalog.direction.education_level.show', compact('educationLevel', 'directions') ); } public function edit(EducationLevel $educationLevel) { - return view('admin.catalog.education_level.edit', compact('educationLevel')); + return view('admin.catalog.direction.education_level.edit', compact('educationLevel')); } public function update(UpdateEducationLevelRequest $request, EducationLevel $educationLevel): RedirectResponse diff --git a/app/Http/Requests/admin/Catalog/StoreEducationFormRequest.php b/app/Http/Requests/admin/Catalog/Direction/StoreEducationFormRequest.php similarity index 89% rename from app/Http/Requests/admin/Catalog/StoreEducationFormRequest.php rename to app/Http/Requests/admin/Catalog/Direction/StoreEducationFormRequest.php index cfa577f..b277170 100644 --- a/app/Http/Requests/admin/Catalog/StoreEducationFormRequest.php +++ b/app/Http/Requests/admin/Catalog/Direction/StoreEducationFormRequest.php @@ -1,6 +1,6 @@