Ignore:
Timestamp:
Jan 23, 2010, 11:19:39 AM (14 years ago)
Author:
gav
Message:

Regen AssetExtendedAttribute controller and views.
Then copy over detailed controller and views and remove non detailed views and controllers.

File:
1 edited

Legend:

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

    r178 r292  
    2727        if(assetExtendedAttributeInstance) {
    2828            try {
    29                 assetExtendedAttributeInstance.delete()
     29                assetExtendedAttributeInstance.delete(flush:true)
    3030                flash.message = "AssetExtendedAttribute ${params.id} deleted"
    3131                redirect(action:list)
     
    7777        else {
    7878            flash.message = "AssetExtendedAttribute 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.