I'm having problems redirecting Grails to namespaces:
I have this redirect in LoginController:
redirect(namespace:'auth',controller:'login',action: "login")
and this is defined in my urls:
"/auth/$action?/$id?" {
controller = 'login'
namespace = 'auth'
}
However, redirection does not work, it redirects: login / login, not auth / login.
Also, the login form is created with the login / authenticate action, not auth / authenticate.
Any ideas?
This is Grails 2.3.4 btw.
Thanks.
source
share