about summary refs log tree commit diff
path: root/app/controllers/follower_accounts_controller.rb
blob: 1e7c7c406632504cce1e8af247db595d6e104621 (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).recent.page(params[:page]).per(FOLLOW_PER_PAGE).preload(:account)
  end
end