Changeset 1199 for trunk/grails-app/controllers
- Timestamp:
- Nov 25, 2010, 10:56:40 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/RestController.groovy
r1101 r1199 252 252 253 253 def id = params.studyToken 254 def study = Study.find ( "from Study as s where s.code=?", [id])254 def study = Study.findByCode(id) 255 255 256 256 if(study) { … … 302 302 303 303 } 304 305 304 render returnList as JSON 306 305 }
Note: See TracChangeset
for help on using the changeset viewer.