Ruby on Rails
Tuesday, February 28, 2012
Hi, in my application, when I try to sign up a user and the information is incorrect, devise redirects me from '/users/sing_up' to the '/users' url.
I'd like to change this behavior, so that it stays in the same url ('/users/sign_up') when it show the flash messages with the errors.
Also I'd like to change the url of the create action for 'post -- /users/sign_up' instead of 'get -- /users', since I'm going to use that for something else.
Thanks in advance.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment