aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib/action_view
diff options
context:
space:
mode:
authorCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2013-12-04 05:35:40 -0800
committerCarlos Antonio da Silva <carlosantoniodasilva@gmail.com>2013-12-04 05:35:40 -0800
commitf402cc5c657b8e6022c3d705eecc4f538647a388 (patch)
treeb426865beb22613fc6b86d53c6a484580335ff5e /actionview/lib/action_view
parentc294055a58d125ff719ae17f03015c71790f0df0 (diff)
parenta156562762e795c2e5382570c1fc30c11cfa9a24 (diff)
downloadrails-f402cc5c657b8e6022c3d705eecc4f538647a388.tar.gz
rails-f402cc5c657b8e6022c3d705eecc4f538647a388.tar.bz2
rails-f402cc5c657b8e6022c3d705eecc4f538647a388.zip
Merge pull request #13152 from mariovisic/text_helper_missing_raw_method
TextHelper#simple_format attempts to call undefined raw method
Diffstat (limited to 'actionview/lib/action_view')
-rw-r--r--actionview/lib/action_view/helpers/text_helper.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/actionview/lib/action_view/helpers/text_helper.rb b/actionview/lib/action_view/helpers/text_helper.rb
index e75c6cabc9..3478eadbf2 100644
--- a/actionview/lib/action_view/helpers/text_helper.rb
+++ b/actionview/lib/action_view/helpers/text_helper.rb
@@ -31,6 +31,8 @@ module ActionView
include SanitizeHelper
include TagHelper
+ include OutputSafetyHelper
+
# The preferred method of outputting text in your views is to use the
# <%= "text" %> eRuby syntax. The regular _puts_ and _print_ methods
# do not operate as expected in an eRuby code block. If you absolutely must