app/Http/Controllers/ModalidadesController.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 report()
    {
        $modalidades = $this->repository->all();
        return \PDF::loadView('reports.reportModalidades', ['modalidades' => $modalidades])->stream();
    }
public function report ( ) { $ modalidades = $ this -> repository -> all ( ) ; return \ PDF :: loadView ( 'reports.reportModalidades' , [ 'modalidades' => $ modalidades ] ) -> stream ( ) ; }
Display a listing of the resource.
Display a listing of the resource .