- Timestamp:
- Nov 2, 2009, 3:25:26 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/AssignedPersonDetailedController.groovy
r147 r178 68 68 } 69 69 assignedPersonInstance.properties = params 70 if(!assignedPersonInstance.hasErrors() && assignedPersonInstance.save( )) {70 if(!assignedPersonInstance.hasErrors() && assignedPersonInstance.save(flush: true)) { 71 71 flash.message = "AssignedPerson ${params.id} updated" 72 72 redirect(action:show,id:assignedPersonInstance.id) … … 97 97 def assignedPersonInstance = new AssignedPerson(params) 98 98 99 if(!assignedPersonInstance.hasErrors() && assignedPersonInstance.save( )) {99 if(!assignedPersonInstance.hasErrors() && assignedPersonInstance.save(flush: true)) { 100 100 flash.message = "AssignedPerson ${assignedPersonInstance.id} created" 101 101 redirect(controller:"taskDetailed", action:"show", id: params.task.id)
Note: See TracChangeset
for help on using the changeset viewer.