/** * Display a listing of the resource. * * @return Response */ public function index() { $hardwares = Hardware::all(); return View::make('hardwares.index', array('hardwares' => $hardwares)); }