Rename single-letter param

This commit is contained in:
Jorge Manrubia
2025-05-06 12:28:18 +02:00
parent 01802964c5
commit 279a5be717
+1 -1
View File
@@ -23,7 +23,7 @@ module Filter::Params
end
def normalize_params(params)
params.to_h.compact_blank.reject(&method(:default_value?)).sort_by { |k, _| k.to_s }
params.to_h.compact_blank.reject(&method(:default_value?)).sort_by { |name, _| name.to_s }
end
end