codeconsole commented on issue #14769:
URL: https://github.com/apache/grails-core/issues/14769#issuecomment-2933149165

   > > def index() provides "${entityName.uncapitalize()Count}" to index.gsp
   > 
   > With which version of Grails does index() provide that?
   
   @jeffscottbrown 
   All of them. That logic has been part of the scaffolding plugin for a long 
time. I have never been a big fan of every controller representing the index 
count under a different property name. 
   
   
https://github.com/apache/grails-core/blob/ca47f524c65d20104b80c13d684d1b5c9d905f29/grails-scaffolding/src/main/templates/scaffolding/Controller.groovy#L12-L15
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to