diff options
author | wycats <wycats@gmail.com> | 2010-08-04 03:20:44 -0700 |
---|---|---|
committer | wycats <wycats@gmail.com> | 2010-08-04 03:25:57 -0700 |
commit | 847c123ca5ce47f1c27e8553d845b33689191ad4 (patch) | |
tree | 20db1775bb4c240b451a9ed2817ac1fa9c89e2dd /actionpack/lib/action_view/helpers/sanitize_helper.rb | |
parent | 991cd59a225b90ab1ba31867810b8fc0942713eb (diff) | |
download | rails-847c123ca5ce47f1c27e8553d845b33689191ad4.tar.gz rails-847c123ca5ce47f1c27e8553d845b33689191ad4.tar.bz2 rails-847c123ca5ce47f1c27e8553d845b33689191ad4.zip |
Concernify SanitizeHelper and TextHelper so including TextHelper correctly include SanitizeHelper and extends its ClassMethods
Diffstat (limited to 'actionpack/lib/action_view/helpers/sanitize_helper.rb')
-rw-r--r-- | actionpack/lib/action_view/helpers/sanitize_helper.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/lib/action_view/helpers/sanitize_helper.rb b/actionpack/lib/action_view/helpers/sanitize_helper.rb index 63f6154ec4..d5638a69e5 100644 --- a/actionpack/lib/action_view/helpers/sanitize_helper.rb +++ b/actionpack/lib/action_view/helpers/sanitize_helper.rb @@ -7,6 +7,7 @@ module ActionView # The SanitizeHelper module provides a set of methods for scrubbing text of undesired HTML elements. # These helper methods extend Action View making them callable within your template files. module SanitizeHelper + extend ActiveSupport::Concern # This +sanitize+ helper will html encode all tags and strip all attributes that # aren't specifically allowed. # |