use rails 7 behaviour on scope merging in index endpoint

fix/rails_7_scope_merging_on_index
ulferts 3 years ago
parent 957e95268c
commit 2066e4acef
No known key found for this signature in database
GPG Key ID: A205708DE1284017
  1. 2
      lib/api/v3/utilities/endpoints/index.rb

@ -163,7 +163,7 @@ module API
if scope_a.is_a? Class
scope_b
else
scope_a.merge(scope_b)
scope_a.merge(scope_b, rewhere: true)
end
end
end

Loading…
Cancel
Save