Ignore:
Timestamp:
Jan 15, 2010, 6:43:40 AM (15 years ago)
Author:
gav
Message:

Rebuild MaintenanceActionDetailed controller and views.
Adjust CreateBulkDataService.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/grails-app/controllers/MaintenanceActionDetailedController.groovy

    r178 r269  
    2727        if(maintenanceActionInstance) {
    2828            try {
    29                 maintenanceActionInstance.delete()
     29                maintenanceActionInstance.delete(flush:true)
    3030                flash.message = "MaintenanceAction ${params.id} deleted"
    3131                redirect(action:list)
     
    7777        else {
    7878            flash.message = "MaintenanceAction not found with id ${params.id}"
    79             redirect(action:edit,id:params.id)
     79            redirect(action:list)
    8080        }
    8181    }
Note: See TracChangeset for help on using the changeset viewer.