]> git.openstreetmap.org Git - rails.git/commit
Require POST for make_friend and remove_friend
authorTom Hughes <tom@compton.nu>
Tue, 14 Aug 2012 21:49:07 +0000 (22:49 +0100)
committerTom Hughes <tom@compton.nu>
Tue, 14 Aug 2012 21:49:52 +0000 (22:49 +0100)
commit740ba0dd38afbb1f67605b5cf04942191f5b8e4f
tree23aa5284e581876faaa08eea05b9f76a29737f15
parent250fbf556a4bbbdb92ec9551c602bb708323e83b
Require POST for make_friend and remove_friend

Note that this breaks the make_friend link in friend notfication
emails, but it will do as a temporary measure.
app/views/user/_contact.html.erb
app/views/user/view.html.erb
config/routes.rb
test/functional/user_controller_test.rb