/** * Display the specified resource. * * @param int $id * @return Response */ public function show($id) { $data = Stop::all(); return response()->json(json_encode($data)); }