about summary refs log tree commit diff
path: root/app/controllers/following_accounts_controller.rb
blob: f4488eef5ea6a30322f333eed05061d0dadd40b3 (plain) (blame)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

class FollowingAccountsController < ApplicationController
  include AccountControllerConcern

  def index
    @follows = Follow.where(account: @account).recent.page(params[:page]).per(FOLLOW_PER_PAGE).preload(:target_account)
  end
end