app/Http/Controllers/BPNutritionController.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()
    {
        $nutritions = BPNutrition::paginate(7);
        $diagnoses = BPDiagnose::pluck('id');
        return view('bpdata.nutrition', compact('nutritions', 'diagnoses'));
    }
public function index ( ) { $ nutritions = BPNutrition :: paginate ( 7 ) ; $ diagnoses = BPDiagnose :: pluck ( 'id' ) ; return view ( 'bpdata.nutrition' , compact ( 'nutritions' , 'diagnoses' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .
//