Module: ActionView::Base::WithSafeOutputBuffer

Included in:
ActionView::Base
Defined in:
lib/rails_xss/action_view.rb

Instance Method Summary collapse

Instance Method Details

#with_output_buffer(buf = ActiveSupport::SafeBuffer.new) ⇒ Object

Rails version of with_output_buffer uses ” as the default buf



9
10
11
# File 'lib/rails_xss/action_view.rb', line 9

def with_output_buffer(buf = ActiveSupport::SafeBuffer.new) #:nodoc:
  super buf
end