I am sending DELETE
type Ajax request to my delete method in my controller.
For successful delete, I am trying to redirect to another method in same controller that reloads the list and is of GET
type.
Currently my delete operation is working fine with default status code 302,but on redirect, it is redirecting with 'Request Method: DELETE' instead of 'GET'
which is default behavior of Grails.
Kindly suggest the solution for it
redirect(action: 'list',controller:'dashboard')