def bundle():
 if (len(request.args) == 2):
  s3db.configure('budget_bundle', update_next=URL(f='bundle_kit_item', args=request.args[1]))
 return s3_rest_controller(rheader=s3db.budget_rheader)

def bundle ( ) : if ( len ( request . args ) == 2 ) : s3db . configure ( 'budget_bundle' , update_next = URL ( f = 'bundle_kit_item' , args = request . args [ 1 ] ) ) return s3_rest_controller ( rheader = s3db . budget_rheader )
rest controller for bundles .