def group():

    # Use hrm/group controller for teams rather than pr/group
    s3db.configure("pr_group",
                   linkto = lambda record_id: \
                            URL(c="hrm", f="group", args=[record_id]),
                   )

    return s3_rest_controller(rheader = s3db.org_rheader)

# -----------------------------------------------------------------------------
RESTful CRUD controller
dataset/ETHPy150Open sahana/eden/controllers/org.py/group