lib/responders/paginate_responder.rb in paginate-responder-2.0.0 vs lib/responders/paginate_responder.rb in paginate-responder-2.1.0
- old
+ new
@@ -1,8 +1,8 @@
module Responders
module PaginateResponder
def respond
- paginate! if get?
+ paginate! if get? || request.head?
super
end
private