aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib/action_view/helpers
diff options
context:
space:
mode:
authorMario Visic <mario@mariovisic.com>2013-12-04 13:50:17 +1100
committerMario Visic <mario@mariovisic.com>2013-12-05 00:21:55 +1100
commita156562762e795c2e5382570c1fc30c11cfa9a24 (patch)
tree5b809c4a7c58d50dc30ae4d8a8d2f54f53f6d8b9 /actionview/lib/action_view/helpers
parentd261c5cc28d35ae3d493c42edd20d362b61556dc (diff)
downloadrails-a156562762e795c2e5382570c1fc30c11cfa9a24.tar.gz
rails-a156562762e795c2e5382570c1fc30c11cfa9a24.tar.bz2
rails-a156562762e795c2e5382570c1fc30c11cfa9a24.zip
Fix issue where TextHelper#simple_format was calling missing 'raw' method
Diffstat (limited to 'actionview/lib/action_view/helpers')
-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