Disable grails Searchable plugin default search page?
问题 I'm trying to disable the Searchable plugin default search page (http://localhost/searchable/), but haven't found a way to do it. Anyone know how this can be done, preferably in a legit way, but resorting to trickery if necessary? 回答1: I usually re-route error code handlers to a controller so I can do some logging or whatever before rendering the view. You can use that here also: class UrlMappings { static mappings = { "/searchable/$action?"(controller: "errors", action: "urlMapping") "/