limcheekin / activiti

Grails Activiti Plugin - Enabled Activiti BPM Suite support for Grails

Home Page:http://code.google.com/p/grails-activiti-plugin/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Views broken when generating controllers/views for a Grails plugin

rexsun opened this issue · 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()]
}