Posted By

skurt on 07/27/11


Tagged

console grails


Versions (?)

use services in grails console


 / Published in: Groovy
 

  1. def service = ctx.getBean("userService")
  2. def user = service.getLoggedUser()

Report this snippet  

You need to login to post a comment.