Reverse lookup for a mapping like this:
doesn't work if you provide an 'action' attribute to any of the link generation tags. It only works if you leave 'action' out. This is pretty confusing, so it would be good if createLink(controller: "book", action: "apiNew") generated "/api/books".
To demonstrate the issue, unpack the attached bug report, run the application, and open the home page. The two "API ..." links displayed on the page link to a different location than "/api/books".