Пример #1
0
 /**
  * Display a listing of the resource.
  *
  * @return Response
  */
 public function index(Request $request)
 {
     $clientes = Cliente::name($request->get('name'))->orderby('nombre', 'asc')->paginate(4);
     return view('clientes.index', compact('clientes'));
 }