Пример #1
0
 /**
  * Display a listing of the resource.
  *
  * @return \Illuminate\Http\Response
  */
 public function getIndex()
 {
     /*
     		Igualamos la base de datos con mayúsculas
     */
     $familys = Family::get();
     foreach ($familys as $family) {
         $family->description = strtoupper($family->alias);
         $family->save();
     }
 }