I've seen that if the routes into UrlMappings are writen with single quote the method createLink doesn't work correctly. I endose an example:
//UrlMappings
"/service" {
controller = 'serviceController'
action = 'show'
}
//gsp
<a href="{createLink(controller: 'serviceController', action: 'show')}">...</a>
this gsp code generates:
<a href="/serviceController/show">...</a>
but it should generates:
<a href="/service">...</a>
If I change the single quotes into the UrlMappings file it works fine.