Update CommonController.groovy