Change devise registration redirect

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.

I believe devise has it’s own mailing list, you will probably get a
faster reply there.

On Tue, Feb 28, 2012 at 3:26 PM, Rodrigo R. [email protected]
wrote:


You received this message because you are subscribed to the Google G.
“Ruby on Rails: Talk” group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.


Kind Regards,
Rajinder Y.

SafetyNet Test Driven Development
http://safetynet.devmentor.org

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs