mirror of
https://github.com/kaminari/kaminari.git
synced 2022-11-09 13:44:37 -05:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue