Changes between Version 42 and Version 43 of DeveloperGuidelinesNewModule
- Timestamp:
- 08/07/11 17:22:49 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DeveloperGuidelinesNewModule
v42 v43 40 40 "RESTful CRUD controller" 41 41 resource = request.function 42 return s hn_rest_controller(module, resource)42 return s3_rest_controller(module, resource) 43 43 }}} 44 44 … … 66 66 msg_list_empty = T("No Vehicles currently registered")) 67 67 68 return s hn_rest_controller(module, resource)68 return s3_rest_controller(module, resource) 69 69 }}} 70 70 … … 73 73 # Options Menu (available in all Functions' Views) 74 74 response.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")] 79 79 ] 80 80 }}}