apache / apache/grails-core

Behavior change: template invocation not inferring model name

Open
#14,266 1 comment 0 reactions 1 assignee Claimed by @Richardson-e View on GitHub
relates-to: grails-gsp
Dominant language
Groovy
Stars
2.9k
Forks
975
Avg merge
1d 22h
Merged PRs (30d)
92

Description

v2.0.4:

Used to be that this would work

organization/_org_lite.gson:
model { Organization: org } ...
user.gson:
org tmpl."/organization/org_lite"(user.org)

Now the model must be specified explicitly:

user.gson:
org tmpl."/organization/org_lite"(org: user.org)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.