Sha256: e59669890d15eb1b3ca1ed52cf15d8a2d830e8ba7338a81831d7a640d3f84ee5

Contents?: true

Size: 362 Bytes

Versions: 1

Compression:

Stored size: 362 Bytes

Contents

# frozen_string_literal: true

require_relative './sort_linker'
require_relative './paginator'

module ActionSet
  module Helpers
    module HelperMethods
      def sort_link(column, title)
        Helpers::SortLinker.new(self).render(column, title)
      end

      def paginate(set)
        Helpers::Paginator.new(self).render(set)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
actionset-0.3.0 lib/action_set/helpers/helper_methods.rb