@@ -39,10 +39,10 @@ |
||
| 39 | 39 | */ |
| 40 | 40 | public function signup() |
| 41 | 41 | { |
| 42 | - $data["segments"] = Segments::all(); |
|
| 43 | - $data['category'] = ProductsCategories::with('products')->paginate(10)->sortBy("name")->all(); |
|
| 42 | + $data["segments"] = Segments::all(); |
|
| 43 | + $data['category'] = ProductsCategories::with('products')->paginate(10)->sortBy("name")->all(); |
|
| 44 | 44 | |
| 45 | - return view('auth.register', $data); |
|
| 45 | + return view('auth.register', $data); |
|
| 46 | 46 | } |
| 47 | 47 | |
| 48 | 48 | |