app/Http/Controllers/ControllerSantri.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()
    {
        $santri = Santri::all();
        return view('pages.santri.index')->with(['santri'=>$santri]);
    }
public function index ( ) { $ santri = Santri :: all ( ) ; return view ( 'pages.santri.index' ) -> with ( [ 'santri' => $ santri ] ) ; }
Display a listing of the resource.
Display a listing of the resource .