Ejemplo n.º 1
0
 public function search($q)
 {
     $types = Ttype::where('nombre', 'like', $q . '%')->paginate(15);
     return $types;
 }