Module: ActionView::Helpers::AssetTagHelper
- Defined in:
- lib/image_tag_with_sane_alt/image_tag_patch.rb
Instance Method Summary collapse
Instance Method Details
#image_tag_with_sane_alt(source, options = {}) ⇒ Object
2 3 4 5 |
# File 'lib/image_tag_with_sane_alt/image_tag_patch.rb', line 2 def image_tag_with_sane_alt(source, ={}) [:alt] ||= nil # set alt to nil unless already set image_tag_without_sane_alt(source, ) end |