示例#1
0
 /**
  * Display a listing of the sensors.
  *
  * @return \Illuminate\Http\Response
  */
 public function index()
 {
     $sensors = Sensor::take(100)->get();
     return view('sensors.sensors', ['sensors' => $sensors, 'user' => Auth::user()]);
 }