Curious if this is an issue or if I'm doing something wrong. Given the following controller:
class MetaDataTypeController {
static scaffold = MetaDataType
static defaultAction = 'list'
def list() {
render("You meant ${g.link(action: 'index', '/index')}")
}
def index() {
[metaDataTypeList: MetaDataType.list()]
}
}
accessing the application at "/app/metaDataType", I would expect to see the "list" action, with a link to "index". What I see is the "index" action. If I remove the static scaffold
declaration, it works and I'm shown the link.
Is this intentional? Am I just overlooking something.
Edit: typo fixed