lib/action_set/helpers/helper_methods.rb in actionset-0.3.3 vs lib/action_set/helpers/helper_methods.rb in actionset-0.3.4
- old
+ new
@@ -4,10 +4,10 @@
require_relative './paginator'
module ActionSet
module Helpers
module HelperMethods
- def sort_link_for(column, title)
+ def sort_link_for(column, title = nil)
Helpers::SortLinker.new(self).render(column, title)
end
def pagination_links_for(set)
Helpers::Paginator.new(self).render(set)