예제 #1
0
 public function toProductAdd()
 {
     $categories = Category::whereNotNull('parent_id')->get();
     return view('admin.product_add')->with('categories', $categories);
 }