app/Http/Controllers/CourierController.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()
    {
        $courier = Courier::all();
        return view ('admin.read_courier_list',compact (['courier']));
    }
public function index ( ) { $ courier = Courier :: all ( ) ; return view ( 'admin.read_courier_list' , compact ( [ 'courier' ] ) ) ; }
Display a listing of the resource.
Display a listing of the resource .
//Menampilkan daftar kurir