[openstreetmap-website] The "add friend" link on the user page fails when not logged in (#292)

Tom Hughes notifications at github.com
Sat Jun 1 14:03:59 UTC 2013


The `user#make_friend` action does redirect as expected in this case (it's an automatic consequence of the `require_user` filter) but that link has some sort of click handler that is doing a `POST` rather than following the link in the normal way, and that is defeating the redirect.

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


More information about the rails-dev mailing list