Changes between Version 42 and Version 43 of DeveloperGuidelinesNewModule


Ignore:
Timestamp:
08/07/11 17:22:49 (13 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DeveloperGuidelinesNewModule

    v42 v43  
    4040    "RESTful CRUD controller"
    4141    resource = request.function
    42     return shn_rest_controller(module, resource)
     42    return s3_rest_controller(module, resource)
    4343}}}
    4444
     
    6666        msg_list_empty = T("No Vehicles currently registered"))
    6767
    68     return shn_rest_controller(module, resource)
     68    return s3_rest_controller(module, resource)
    6969}}}
    7070
     
    7373# Options Menu (available in all Functions' Views)
    7474response.menu_options = [
    75     [T("Home"), False, URL(r=request, f="index")],
    76     [T("Add Vehicle"), False, URL(r=request, f="vehicle", args="create")],
    77     [T("List Vehicles"), False, URL(r=request, f="vehicle")],
    78     [T("Search Vehicles"), False, URL(r=request, f="vehicle", args="search")]
     75    [T("Home"), False, URL(f="index")],
     76    [T("Add Vehicle"), False, URL(f="vehicle", args="create")],
     77    [T("List Vehicles"), False, URL(f="vehicle")],
     78    [T("Search Vehicles"), False, URL(f="vehicle", args="search")]
    7979]
    8080}}}