lib/active_admin/order_clause.rb in activeadmin-2.8.0 vs lib/active_admin/order_clause.rb in activeadmin-2.8.1
- old
+ new
@@ -18,10 +18,10 @@
def apply(chain)
chain.reorder(Arel.sql sql)
end
def to_sql
- [table_column, @op, ' ', @order].compact.join
+ [table_column, @op, " ", @order].compact.join
end
def table
active_admin_config.resource_column_names.include?(@column) ? active_admin_config.resource_table_name : nil
end