grails-gsp icon indicating copy to clipboard operation
grails-gsp copied to clipboard

g:createLink resource="" should allow specifying contollerName

Open codeconsole opened this issue 5 months ago • 2 comments

Given the following:

class Sample {
    String name
}

class Sample2Controller {
    static scaffold = Sample
}

all the links should work, but they don't. They all end up pointing to /sample/$action

this is due to the resource option in links. This could be fixed by also allowing to override resource with controllerName, but does not perform as expected..

codeconsole avatar Sep 07 '24 22:09 codeconsole