]> git.openstreetmap.org Git - rails.git/commit
Refactor friendships controller and model
authornertc <davidtsiklauri7@gmail.com>
Tue, 14 Jan 2025 07:33:56 +0000 (11:33 +0400)
committernertc <davidtsiklauri7@gmail.com>
Tue, 14 Jan 2025 07:33:56 +0000 (11:33 +0400)
commitbe11f2075e8bbde0a1e0640fd254c64ee0c94f25
tree5af419885e4a0c2310b2702f2fd3c2d54222afa4
parent2b7a48029bff06c190544f91c5969b09aeae552b
Refactor friendships controller and model
27 files changed:
app/abilities/ability.rb
app/controllers/changesets_controller.rb
app/controllers/diary_entries_controller.rb
app/controllers/follows_controller.rb [new file with mode: 0644]
app/controllers/friendships_controller.rb [deleted file]
app/mailers/user_mailer.rb
app/models/follow.rb [moved from app/models/friendship.rb with 69% similarity]
app/models/user.rb
app/views/dashboards/_contact.html.erb
app/views/dashboards/show.html.erb
app/views/follows/show.html.erb [new file with mode: 0644]
app/views/friendships/make_friend.html.erb [deleted file]
app/views/friendships/remove_friend.html.erb [deleted file]
app/views/user_mailer/friendship_notification.html.erb
app/views/user_mailer/friendship_notification.text.erb
app/views/users/show.html.erb
config/locales/en.yml
config/routes.rb
test/controllers/changesets_controller_test.rb
test/controllers/diary_entries_controller_test.rb
test/controllers/follows_controller_test.rb [new file with mode: 0644]
test/controllers/friendships_controller_test.rb [deleted file]
test/factories/follows.rb [new file with mode: 0644]
test/factories/friendships.rb [deleted file]
test/models/user_test.rb
test/system/dashboard_test.rb
test/system/follows_test.rb [moved from test/system/friendships_test.rb with 74% similarity]