Changeset 1097 for trunk/grails-app/controllers
- Timestamp:
- Nov 8, 2010, 12:08:22 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/grails-app/controllers/dbnp/studycapturing/WizardController.groovy
r1096 r1097 29 29 @Secured(['IS_AUTHENTICATED_REMEMBERED']) 30 30 class WizardController { 31 def AuthenticationService31 def authenticationService 32 32 33 33 /** … … 800 800 801 801 // Make sure the owner of the study is set right 802 flow.study.owner = AuthenticationService.getLoggedInUser()802 flow.study.owner = authenticationService.getLoggedInUser() 803 803 804 804 if (!flow.study.save(flush:true)) { … … 855 855 */ 856 856 def loadStudy(flow, flash, params) { 857 // def AuthenticationService857 // def authenticationService 858 858 859 859 flash.errors = new LinkedHashMap() … … 867 867 // the used should had never seen a link to this page, so he should never get 868 868 // here. That's why we just return false 869 if (!study.canWrite( AuthenticationService.getLoggedInUser())) {869 if (!study.canWrite(authenticationService.getLoggedInUser())) { 870 870 return false 871 871 }
Note: See TracChangeset
for help on using the changeset viewer.