Changeset 632 for trunk/grails-app


Ignore:
Timestamp:
Jul 16, 2010, 12:54:54 PM (14 years ago)
Author:
gav
Message:

Some comments to CostCodeDetailedController.

File:
1 edited

Legend:

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

    r628 r632  
    7171                def version = params.version.toLong()
    7272                if(costCodeInstance.version > version) {
    73                    
     73
    7474                    costCodeInstance.errors.rejectValue("version", "default.optimistic.locking.failure")
    7575                    render(view:'edit',model:[costCodeInstance:costCodeInstance])
     
    107107            render(view:'create',model:[costCodeInstance:costCodeInstance])
    108108        }
    109     }
    110 }
     109    } // save
     110
     111} // end class
Note: See TracChangeset for help on using the changeset viewer.