@@ -20,7 +20,7 @@ class ClassifyController extends Controller
*/
public function home(Request $request)
{
- $top = Classify::where("location", "top")->limit(3)->toArray();
+ $top = Classify::where("location", "top")->limit(3);
$bottom = Classify::where("location", "bottom")->first();
$tops = array_map(function ($t) {