mirror of
https://github.com/Bigherollc/wticreatorstudio.git
synced 2026-08-04 09:19:01 -04:00
Updates on frontend module
This commit is contained in:
@@ -83,7 +83,17 @@ class SectionController extends Controller
|
||||
$this->service->updateSectionItems($section, $sections);
|
||||
|
||||
return response()->json([
|
||||
'message' => __('frontend::common.featured-creators-updated'),
|
||||
'message' => __('frontend::common.section-items-updated'),
|
||||
]);
|
||||
}
|
||||
|
||||
public function updateSectionCategories(Request $request, Section $section)
|
||||
{
|
||||
$categories = $request->items;
|
||||
$this->service->updateSectionCategories($section, $categories);
|
||||
|
||||
return response()->json([
|
||||
'message' => __('frontend::common.section-categories-updated'),
|
||||
]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user