Sha256: 344cf76c6d4eaeafeab6df7040e9bd2811e65a04ee3969a9843aeafafc08189a

Contents?: true

Size: 190 Bytes

Versions: 7

Compression:

Stored size: 190 Bytes

Contents

module Responders

  module PaginateResponder

    def to_format
      if get?
        @resource = ::PaginateResponder::Paginator.new(self).paginate!
      end
      super
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
paginate-responder-1.5.0 lib/responders/paginate_responder.rb
paginate-responder-1.4.2 lib/responders/paginate_responder.rb
paginate-responder-1.4.2.beta0 lib/responders/paginate_responder.rb
paginate-responder-1.4.1 lib/responders/paginate_responder.rb
paginate-responder-1.4.0 lib/responders/paginate_responder.rb
paginate-responder-1.3.0 lib/responders/paginate_responder.rb
paginate-responder-1.2.0 lib/responders/paginate_responder.rb