lib/async_partial/handlers/slim.rb in async_partial-0.2.0 vs lib/async_partial/handlers/slim.rb in async_partial-0.3.0
- old
+ new
@@ -9,13 +9,9 @@
# output_buffer.safe_concat dynamic
# output_buffer.to_s
class ThreadedRailsOutputBuffer < RailsOutputBuffer
set_options buffer_class: 'ActionView::OutputBuffer', buffer: 'output_buffer'
- def on_dynamic(code)
- concat(code)
- end
-
def return_buffer
"#{buffer}.to_s"
end
end
end