mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Include TagHelper but don't explicitly require it
Allow autoloading to work as intended and avoid multiple requires.
This commit is contained in:
parent
9147613ce0
commit
196407c54f
2 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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 ActionView
|
|||
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
|
||||
|
|
Loading…
Reference in a new issue