activiti icon indicating copy to clipboard operation
activiti copied to clipboard

Views broken when generating controllers/views for a Grails plugin

Open rexsun opened this issue 10 years ago • 0 comments

Issue as titled. The comparison shows when generate-all for app, all methods/templates will get "Instance" appended:

Both app and plugin referenced scaffolding by -- compile ":scaffolding:2.0.2"

Generated controller method for app: def index(Integer max) { params.max = Math.min(max ?: 10, 100) respond TestCase.list(params), model:[testCaseInstanceCount: TestCase.count()] }

Generated controller method for plug-in: def index(Integer max) { params.max = Math.min(max ?: 10, 100) respond TestCase.list(params), model:[testCaseCount: TestCase.count()] }

rexsun avatar Apr 28 '14 19:04 rexsun