]> git.openstreetmap.org Git - rails.git/commit
Fixup make_friend and remove_friend properly
authorTom Hughes <tom@compton.nu>
Wed, 15 Aug 2012 18:48:06 +0000 (19:48 +0100)
committerTom Hughes <tom@compton.nu>
Wed, 15 Aug 2012 19:13:14 +0000 (20:13 +0100)
commit573991e5a9997d5ea14e430ae58a40ef0eaecd34
treeb88dc80307beb77b1b07a22a2381760b61103d5e
parenta8396f88719934239641eead2bdf743b7326338f
Fixup make_friend and remove_friend properly

Requests using POST are now actioned immediately, while requests
using GET present a confirmation page.
app/controllers/user_controller.rb
app/views/user/_contact.html.erb
app/views/user/make_friend.html.erb [new file with mode: 0644]
app/views/user/remove_friend.html.erb [new file with mode: 0644]
app/views/user/view.html.erb
config/locales/en.yml
config/routes.rb
test/functional/user_controller_test.rb