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

class FollowerAccountsController < ApplicationController
  include AccountControllerConcern

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