- Timestamp:
- Jan 15, 2010, 6:43:40 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/MaintenanceActionDetailedController.groovy
r178 r269 27 27 if(maintenanceActionInstance) { 28 28 try { 29 maintenanceActionInstance.delete( )29 maintenanceActionInstance.delete(flush:true) 30 30 flash.message = "MaintenanceAction ${params.id} deleted" 31 31 redirect(action:list) … … 77 77 else { 78 78 flash.message = "MaintenanceAction not found with id ${params.id}" 79 redirect(action: edit,id:params.id)79 redirect(action:list) 80 80 } 81 81 }
Note: See TracChangeset
for help on using the changeset viewer.