Module: ActionView::Helpers::FormTagHelper
- Defined in:
- lib/bring_back_snowman.rb
Instance Method Summary collapse
Instance Method Details
#utf8_enforcer_tag ⇒ Object
18 19 20 21 22 23 24 25 |
# File 'lib/bring_back_snowman.rb', line 18 def utf8_enforcer_tag key = Rails.configuration.snowman.keys.first value = Rails.configuration.snowman.values.first.unpack("U").first tag(:input, :type => "hidden", :name => key, :value => "&##{value}".html_safe) end |