app/Http/Controllers/SiswaController.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()
    {
        $sisw = Siswa::all();
        return view ('dashboard.sisw.index',compact('sisw'));
    }
public function index ( ) { $ sisw = Siswa :: all ( ) ; return view ( 'dashboard.sisw.index' , compact ( 'sisw' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .