lib/ransack/helpers/form_builder.rb in ransack-1.8.1 vs lib/ransack/helpers/form_builder.rb in ransack-1.8.2
- old
+ new
@@ -81,9 +81,13 @@
def sort_link(attribute, *args)
@template.sort_link @object, attribute, *args
end
+ def sort_url(attribute, *args)
+ @template.sort_url @object, attribute, *args
+ end
+
def condition_fields(*args, &block)
search_fields(:c, args, block)
end
def grouping_fields(*args, &block)