I am getting an error in my interceptor for Grails 3.1.4
The return type of java.lang.Object getGrailsLinkGenerator() incompatible with grails.web.mapping.LinkGenerator in grails.artefact.controller.support.Response Redirect
The code that I implemented is as follows:
response.sendRedirect("${grailsLinkGenerator.link(controller: 'trendingClaimsDemoAndGeographic', action: 'index')}")