Commit 11a2b673 authored by ThibG's avatar ThibG Committed by Nathan Ladd
Browse files

Remove unused AccountRelationshipsPresenter call in public pages (#12734)

Those were used to show a “follow” or “unfollow” button on account grid on
public pages, but that got removed a while ago.
parent 37a214de
......@@ -18,7 +18,6 @@ class FollowerAccountsController < ApplicationController
next if @account.user_hides_network?
follows
@relationships = AccountRelationshipsPresenter.new(follows.map(&:account_id), current_user.account_id) if user_signed_in?
end
format.json do
......
......@@ -18,7 +18,6 @@ class FollowingAccountsController < ApplicationController
next if @account.user_hides_network?
follows
@relationships = AccountRelationshipsPresenter.new(follows.map(&:target_account_id), current_user.account_id) if user_signed_in?
end
format.json do
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment