1
0
Fork 0
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:
Akira Matsuda 2016-06-22 14:24:51 +09:00
parent b61d2fc1db
commit 82ffacd943

View file

@ -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