Skip to content

Commit

Permalink
rename options to _options for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
johantell committed Dec 4, 2015
1 parent fbab5f4 commit 4f51dcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/jsonapi/resource.rb
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,7 @@ def apply_pagination(records, paginator, order_options)
records
end

def apply_sort(records, order_options, options = {})
def apply_sort(records, order_options, _options = {})
if order_options.any?
records.order(order_options)
else
Expand Down

0 comments on commit 4f51dcb

Please sign in to comment.