/** * Show the form for editing the specified resource. * * @param int $id * @return Response */ public function edit($id) { $wodfijo = wodfijo::findOrfail($id); $data = SubirWod::all()->lists('nombre', 'nombre'); $selected = array(); return view('admin.wodfijo.edit', compact('wodfijo', 'data', 'selected')); }