mirror of
https://github.com/kaminari/kaminari.git
synced 2022-11-09 13:44:37 -05:00
A template knows its own output_buffer class which might not be AV::OutputBuffer
This commit is contained in:
parent
b61d2fc1db
commit
82ffacd943
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ module Kaminari
|
|||
|
||||
@last = nil
|
||||
# initialize the output_buffer for Context
|
||||
@output_buffer = ActionView::OutputBuffer.new
|
||||
@output_buffer = template.output_buffer.class.new
|
||||
end
|
||||
|
||||
# render given block as a view template
|
||||
|
|
Loading…
Reference in a new issue