diff --git a/app/Http/Controllers/Shop/Admin/PriceGenericCategoryController.php b/app/Http/Controllers/Shop/Admin/PriceGenericCategoryController.php index ae36c435..b1440fe0 100644 --- a/app/Http/Controllers/Shop/Admin/PriceGenericCategoryController.php +++ b/app/Http/Controllers/Shop/Admin/PriceGenericCategoryController.php @@ -10,9 +10,9 @@ use App\DataTables\Shop\PriceGenericCategoriesDataTable; class PriceGenericCategoryController extends Controller { - public function index(PriceGenericsDataTable $dataTable) + public function index(PriceGenericCategoriesDataTable $dataTable) { - return $dataTable->render('Shop.Admin.PriceGenericCategories.list', $data); + return $dataTable->render('Shop.Admin.PriceGenericCategories.list'); } public function create()