What it is the correct way to hide the /index action using route in a Grails app?
I want to be able redirect to a controller: “profile”, action: “index” but have the url look like
http://foobar.com/profile
not
http://foobar.com/profile/index
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.
UrlMappings.groovy
Or you could set your default action in the Controller
If you are wanting to redirect to that URL then from within an action in a controller..
or