diff --git a/kaminari-core/lib/kaminari/helpers/tags.rb b/kaminari-core/lib/kaminari/helpers/tags.rb index 4f4ebd7..b415cdf 100644 --- a/kaminari-core/lib/kaminari/helpers/tags.rb +++ b/kaminari-core/lib/kaminari/helpers/tags.rb @@ -26,7 +26,7 @@ module Kaminari end def to_s(locals = {}) #:nodoc: - @template.render :partial => partial_path, :locals => @options.merge(locals), :formats => [:html] + @template.render :partial => partial_path, :locals => @options.merge(locals), :formats => @template.formats + [:html] end def page_url_for(page)