class BookController {
def list() {
log.info "Executing action $actionName"
render(view: actionName)
}
}
actionName
Purpose
Returns the name of the currently executing action
Examples
Description
Returns the name of the currently executing action which is dictated by the URL mappings