]> git.openstreetmap.org Git - rails.git/commit
Pass the models, not the ids, when dealing with friendships
authorAndy Allan <git@gravitystorm.co.uk>
Wed, 19 Jun 2019 14:56:31 +0000 (16:56 +0200)
committerAndy Allan <git@gravitystorm.co.uk>
Wed, 19 Jun 2019 14:56:31 +0000 (16:56 +0200)
commitd33b1f6b29651c7e8a021ab37f8659054df4881f
treeb3e01c5ed63c570dbe6d62e133ee492f7d4cd8b3
parent2169c503efbbeb45c3842e9fa5eef6cc01e8e27b
Pass the models, not the ids, when dealing with friendships
app/controllers/users_controller.rb
app/models/user.rb
test/controllers/users_controller_test.rb