/** * Show the form for creating a new concepto * * @return Response */ public function create($id) { $datos = ['conceptos' => Concepto::all(), 'miembro' => Miembro::find($id)]; return View::make('back.ConceptosMiembros.create')->with($datos); }
/** * Display a listing of conceptos * * @return Response */ public function index() { $conceptos = Concepto::all(); return View::make('back.Conceptos.index', compact('conceptos')); }