mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Merge pull request #3943 from sferik/add_explicit_requires
Include TagHelper but don't explicitly require it
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user