]> git.openstreetmap.org Git - rails.git/commit
Move make_friend and remove_friend to friendships controller
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 3 Jun 2020 16:23:07 +0000 (18:23 +0200)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 3 Jun 2020 16:23:07 +0000 (18:23 +0200)
commit8ebfdbc1ffacee695ca773f3b3c8af02bb41b8c1
tree6cb2eae06668ccbf25b800bbd1a12e6ea0ceb359
parent59c90aa0235ccba8f5f3a843170286c4e650a91c
Move make_friend and remove_friend to friendships controller
app/abilities/ability.rb
app/controllers/friendships_controller.rb [new file with mode: 0644]
app/controllers/users_controller.rb
app/mailers/notifier.rb
app/views/friendships/make_friend.html.erb [moved from app/views/users/make_friend.html.erb with 100% similarity]
app/views/friendships/remove_friend.html.erb [moved from app/views/users/remove_friend.html.erb with 100% similarity]
config/locales/en.yml
config/routes.rb
test/controllers/friendships_controller_test.rb