diff --git a/lib/widget.rb b/lib/widget.rb index 9314ee1c08..b59a8ed230 100644 --- a/lib/widget.rb +++ b/lib/widget.rb @@ -17,6 +17,8 @@ if Rails.version.start_with? "2" class ::String; def html_safe; self; end; end end +class ::String; def write(s); concat(s); end; end + class Widget < ActionView::Base include ActionView::Helpers::TagHelper include ActionView::Helpers::AssetTagHelper