app/Http/Controllers/PenggajianController.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()
    {
        $penggajian=Penggajian::paginate(3);
        return view('penggajian.index',compact('penggajian'));
    }
public function index ( ) { $ penggajian = Penggajian :: paginate ( 3 ) ; return view ( 'penggajian.index' , compact ( 'penggajian' ) ) ; }
Display a listing of the resource.
Display a listing of the resource .
//