controllerName
目的 Purpose
Returns the name of the currently executing controller使用例 Examples
class BookController { def list() {
log.info "Executing within controller $controllerName" render(view: actionName)
}
}