Show
Ignore:
Timestamp:
30-09-10 15:35:55 (4 years ago)
Author:
keesvb
Message:

Changed JSON name for study title to title in getStudies REST method

Files:
1 modified

Legend:

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

    r901 r903  
    8686                def user = params.user 
    8787                Study.findAllByOwner(requestUser).each { study -> 
    88                         studies.push( [ 'externalStudyID': study.code, 'name':study.title, 'studyToken':study.code ] ) 
     88                        studies.push( [ 'externalStudyID': study.code, 'title':study.title, 'studyToken':study.code ] ) 
    8989                } 
    9090                render studies as JSON