In Grails, how do I redirect to my home page (index.gsp) which is not part of any controller?
You can do a redirect to '/' like this:
redirect(uri:'/')
Why do you need a redirect instead of a render? redirect(uri:'/index.gsp')
might do the trick but I think I would just render(view:'/index')
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With