Sha256: b8912e7ff0860768d2f31634738cdb64a00a9e9cac23c2affc2455a985f1f5d9

Contents?: true

Size: 292 Bytes

Versions: 2

Compression:

Stored size: 292 Bytes

Contents

# encoding: utf-8

module Rango
  module Pagination
    module PaginationMixin
      # @since 0.0.2
      def paginate(page = Page.current)
        root = File.dirname(__FILE__)
        template = File.join(root, "pagination")
        partial template, page: page
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rango-0.1.pre lib/rango/contrib/pagination/helpers.rb
rango-0.0.4 lib/rango/contrib/pagination/helpers.rb