app/Http/Controllers/AreaController.php
/**
     * Display a listing of the resource.
     *
     * @return \Illuminate\Http\Response
     */
Display a listing of the resource.
@return \Illuminate\Http\Response
Display a listing of the resource . @return \ Illuminate \ Http \ Response
public function index()
    {
        $areas = Area::orderBy('nome', 'ASC')->paginate(50);
        return view('coordenador/areas_coordenador', ['areas' => $areas]);
    }
public function index ( ) { $ areas = Area :: orderBy ( 'nome' , 'ASC' ) -> paginate ( 50 ) ; return view ( 'coordenador/areas_coordenador' , [ 'areas' => $ areas ] ) ; }
Display a listing of the resource.
Display a listing of the resource .
// Listagem de todas as areas