Changeset 772 for branches/features/taskProcedureRework/grails-app/controllers/TaskProcedureDetailedController.groovy
- Timestamp:
- Feb 3, 2011, 12:15:42 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/features/taskProcedureRework/grails-app/controllers/TaskProcedureDetailedController.groovy
r770 r772 5 5 6 6 def filterService 7 def authService 7 8 8 9 def index = { redirect(action:list,params:params) } … … 110 111 } 111 112 taskProcedureInstance.properties = params 113 taskProcedureInstance.lastUpdatedBy = authService.currentUser 114 taskProcedureInstance.lastUpdated = new Date() // Required to trigger version increment. 112 115 113 116 // Gaps in the html index's can be created by adding 2 items and removing the first one. … … 173 176 def save = { 174 177 def taskProcedureInstance = new TaskProcedure(params) 178 taskProcedureInstance.createdBy = authService.currentUser 179 taskProcedureInstance.lastUpdatedBy = authService.currentUser 175 180 def taskInstance = Task.get(params.linkedTask.id) 176 181
Note: See TracChangeset
for help on using the changeset viewer.