Exemplo n.º 1
0
 /**
  * Display a listing of the resource.
  * GET /sensors
  *
  * @return Response
  */
 public function index()
 {
     $sensors = Sensor::get();
     return View::make("sensors", ['sensors' => $sensors]);
 }