Exemplo n.º 1
0
 /**
  * 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);
 }
Exemplo n.º 2
0
 /**
  * Display a listing of conceptos
  *
  * @return Response
  */
 public function index()
 {
     $conceptos = Concepto::all();
     return View::make('back.Conceptos.index', compact('conceptos'));
 }