grails / grails-forge

This is Grails project creator. Grails projects may be created using the browser interface, Command Line, or via CURL.
Apache License 2.0
3 stars 9 forks source link

fix: Set controller scope in config #263

Closed matrei closed 6 months ago

matrei commented 7 months ago

The default scope of controllers in Grails is 'prototype'. This setting should be set to 'singleton' in config of newly created apps (and it was, up to Grails 5). However, with the introduction of the new Grails-forge for Grails 6, the default scope was no longer automatically set to 'singleton.' This PR adds it back to the config.