We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 19b20e7 + 8edfde2 commit 9accc4bCopy full SHA for 9accc4b
app/controllers/card_pools_controller.rb
@@ -4,8 +4,7 @@
4
class CardPoolsController < ApplicationController
5
def index
6
add_total_stat(params)
7
- base_scope = CardPool.includes(:cards)
8
- card_pools = CardPoolResource.all(params, base_scope)
+ card_pools = CardPoolResource.all(params)
9
respond_with(card_pools)
10
end
11
0 commit comments