about summary refs log tree commit diff
path: root/app/controllers/following_accounts_controller.rb
blob: 925647864467df9328dbe9bcd05e791c2272ea8b (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).order(id: :desc).page(params[:page]).per(FOLLOW_PER_PAGE).preload(:target_account)
  end
end