Exemplo n.º 1
0
 /**
  * Display a listing of the resource.
  *
  * @return \Illuminate\Http\Response
  */
 public function index()
 {
     return view('mapel.index', ['mapels' => Mapel::orderBy('kode', 'ASC')->paginate(10)]);
 }