Changes between Version 66 and Version 67 of RESTController


Ignore:
Timestamp:
08/07/11 17:15:40 (10 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RESTController

    v66 v67  
    154154def kit():
    155155    "REST CRUD controller"
    156     response.s3.formats.pdf = URL(r=request, f="kit_export_pdf")
    157     response.s3.formats.xls = URL(r=request, f="kit_export_xls")
     156    response.s3.formats.pdf = URL(f="kit_export_pdf")
     157    response.s3.formats.xls = URL(f="kit_export_xls")
    158158    if len(request.args) == 2:
    159         crud.settings.update_next = URL(r=request, f="kit_item", args=request.args[1])
     159        crud.settings.update_next = URL(f="kit_item", args=request.args[1])
    160160    return shn_rest_controller(module, "kit", main="code", onaccept=lambda form: kit_total(form))
    161161}}}