app/Http/Controllers/Admin/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()
    {
        $pagename = "Data Siswa";
        return view('admin.siswa.index', compact('pagename'));
    }
public function index ( ) { $ pagename = " Data Siswa " ; return view ( 'admin.siswa.index' , compact ( 'pagename' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .