as there is a process to create a controller or a domain class via grails create-XXX, are there any considerations be aware of for their removal ? Or is it enough to delete the class and the corresponding test ? Thanks.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
there’s no automated removal – when I delete a controller I delete the tests, and any views that are no longer relevant.
You will need to make sure your controller is not referenced in any gsps (e.g by searching for tags containing controller=”myController” or controller: “myController”).
hth