redirect in grails
class TestController { def firstAction() { redirect(action: "secondAction") } def secondAction() { render "You were redirected from firstAction to secondAction" } }
redirect in grails
def auth() { if (!params.username.empty) { redirect (controller: "manageLicences" , action:"checkLicense") } }