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.
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.