rnmp / convos

https://www.convos.org
0 stars 0 forks source link

On invalid sign up, return to /signup rather than /users #70

Closed sebastian-dh closed 8 years ago

sebastian-dh commented 8 years ago

This is the issue: http://stackoverflow.com/questions/8775599/render-new-not-going-to-the-right-place-after-a-validation

We need to use render 'new' on create rather than redirect_to so that errors can be displayed.

Right now, submitting the form from /users results in error "too few arguments".