From 9ecaa803001aa95ff9010c8f5aef71c009577ead Mon Sep 17 00:00:00 2001 From: Michael Koziarski Date: Mon, 8 Nov 2010 10:10:30 +1300 Subject: Make safe_append= live on AV::OutputBuffer not AS::SafeBuffer Conflicts: actionpack/lib/action_view/template/handlers/erb.rb --- actionpack/lib/action_view/template/handlers/erb.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'actionpack/lib/action_view/template') diff --git a/actionpack/lib/action_view/template/handlers/erb.rb b/actionpack/lib/action_view/template/handlers/erb.rb index 4c1f3d70ca..0803114f44 100644 --- a/actionpack/lib/action_view/template/handlers/erb.rb +++ b/actionpack/lib/action_view/template/handlers/erb.rb @@ -15,6 +15,7 @@ module ActionView super(value.to_s) end alias :append= :<< + alias :safe_append= :safe_concat end class Template -- cgit v1.2.3