lib/table_for/base.rb in table-for-3.6.2 vs lib/table_for/base.rb in table-for-3.7.0

- old
+ new

@@ -115,9 +115,10 @@ end parameters = view.params.merge(:order => order, :sort_mode => next_sort_mode) parameters.delete(:action) parameters.delete(:controller) + parameters.delete(:page) if parameters.respond_to?(:to_unsafe_h) parameters = parameters.to_unsafe_h end url = options[:sort_url] ? options[:sort_url] : "" view.link_to view.capture(self, &block), "#{url}?#{parameters.to_query}"