[openstreetmap-website] URL/body are wrong after invalid form submission (#398)

Tom Hughes notifications at github.com
Tue Jul 30 21:49:40 UTC 2013


Hmm.... It's not wrong as such, it's just an odd side effect of the way the signup works...

The initial form is `/user/new` but when you submit it posts to `/user/terms` which would normally then display the terms page, but if there is a validation error it renders the `new` view again, but of course the action is still `terms` so that is the class which gets assigned...

---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/issues/398#issuecomment-21825649
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20130730/98a21ddf/attachment.html>


More information about the rails-dev mailing list