Skip to content

Commit

Permalink
Address linter comment
Browse files Browse the repository at this point in the history
plz don't make me put a dot at the end of a line i do not like it
  • Loading branch information
thoughtbot-summer committed Aug 18, 2023
1 parent ceacb04 commit e2e2b8f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/administrate/order.rb
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ def order_by_association_id_query
end

def order_by_attribute_query
Arel::Table.new(association_table_name)[association_attribute].public_send(direction)
table = Arel::Table.new(association_table_name)
table[association_attribute].public_send(direction)
end

def relation_type(relation)
Expand Down

0 comments on commit e2e2b8f

Please sign in to comment.