Haml template's `output_buffer` returns a String
1f7a3b5847/lib/haml/helpers/action_view_mods.rb (L18)
This commit is contained in:
parent
6534e33c36
commit
f935015a5a
|
@ -22,7 +22,7 @@ module Kaminari
|
||||||
|
|
||||||
@last = nil
|
@last = nil
|
||||||
# initialize the output_buffer for Context
|
# initialize the output_buffer for Context
|
||||||
@output_buffer = template.output_buffer.class.new
|
@output_buffer = template.instance_variable_get(:@output_buffer).class.new
|
||||||
end
|
end
|
||||||
|
|
||||||
# render given block as a view template
|
# render given block as a view template
|
||||||
|
|
Loading…
Reference in New Issue