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