Fix: アカウント一覧、カスタム絵文字一覧画面を高速化 (#585)
* Change: アカウント一覧、カスタム絵文字一覧でCOUNTを発行しないように * Add index * Fix test
This commit is contained in:
parent
0f680a21b4
commit
0a6e68255f
6 changed files with 24 additions and 9 deletions
|
@ -9,7 +9,7 @@ module Admin
|
|||
def index
|
||||
authorize :account, :index?
|
||||
|
||||
@accounts = filtered_accounts.page(params[:page])
|
||||
@accounts = filtered_accounts.page(params[:page]).without_count
|
||||
@form = Form::AccountBatch.new
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue