1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Include missing module in tag_helper

Since 6857415187 we are using #safe_join to
join the content when an Array is given, so we must include the dependent
module here to make sure it's available when this module is used alone.

This was making Simple Form tests to fail with current master due to the
missing dependency.
This commit is contained in:
Carlos Antonio da Silva 2014-07-09 18:44:53 -03:00
parent 4c34ad37b2
commit 05fde24e1e

View file

@ -9,6 +9,7 @@ module ActionView
module TagHelper module TagHelper
extend ActiveSupport::Concern extend ActiveSupport::Concern
include CaptureHelper include CaptureHelper
include OutputSafetyHelper
BOOLEAN_ATTRIBUTES = %w(disabled readonly multiple checked autobuffer BOOLEAN_ATTRIBUTES = %w(disabled readonly multiple checked autobuffer
autoplay controls loop selected hidden scoped async autoplay controls loop selected hidden scoped async