Append html format instead since by default rails will prepend the passed in format and will override in effect
This commit is contained in:
parent
3a31af31ed
commit
f4e40b1971
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue