Skip to content

Commit 36810f0

Browse files
committed
GRAILS-7540 wasn't setting the GrailsApplication, so the config override was being ignored
1 parent 8b9003a commit 36810f0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/_GrailsGenerate.groovy

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ target(uberGenerate: "Generates controllers and views for all domain classes.")
7676

7777
def generateForDomainClass(domainClass) {
7878
def templateGenerator = new DefaultGrailsTemplateGenerator(classLoader)
79+
templateGenerator.grailsApplication = grailsApp
7980
templateGenerator.pluginManager = pluginManager
8081
if (generateViews) {
8182
event("StatusUpdate", ["Generating views for domain class ${domainClass.fullName}"])

0 commit comments

Comments
 (0)