app/components/katalyst/turbo/table_component.rb in katalyst-tables-2.1.3 vs app/components/katalyst/turbo/table_component.rb in katalyst-tables-2.2.0

- old
+ new

@@ -21,16 +21,16 @@ html_attributes[:id] end private - def default_attributes + def default_html_attributes { data: { - controller: "tables--turbo-collection", - tables__turbo_collection_url_value: current_path, - tables__turbo_collection_sort_value: collection.sort - } + controller: "tables--turbo-collection", + tables__turbo_collection_url_value: current_path, + tables__turbo_collection_sort_value: collection.sort, + }, } end def current_path params = collection.to_params