Skip to content
Browse files

Include TagHelper but don't explicitly require it

Allow autoloading to work as intended and avoid multiple requires.
  • Loading branch information...
1 parent 9147613 commit 196407c54f0736c275d2ad4e6f8b0ac55360ad95 @sferik sferik committed
1 actionpack/lib/action_view/helpers/sanitize_helper.rb
@@ -1,6 +1,5 @@
require 'active_support/core_ext/object/try'
require 'action_controller/vendor/html-scanner'
-require 'action_view/helpers/tag_helper'
module ActionView
# = Action View Sanitize Helpers
2 actionpack/lib/action_view/helpers/text_helper.rb
@@ -1,6 +1,5 @@
require 'active_support/core_ext/object/blank'
require 'active_support/core_ext/string/filters'
-require 'action_view/helpers/tag_helper'
module ActionView
# = Action View Text Helpers
@@ -31,6 +30,7 @@ module TextHelper
extend ActiveSupport::Concern
include SanitizeHelper
+ include TagHelper
# 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

0 comments on commit 196407c

Please sign in to comment.
Something went wrong with that request. Please try again.