(Quick Reference)

actionName

目的
Purpose

Returns the name of the currently executing action.

使用例
Examples

class BookController {
    def list() {
        log.info "Executing action $actionName"

render(view: actionName) } }

詳細
Description

Returns the name of the currently executing action which is dictated by the URL mappings