Sha256: d26b2f1b138175baf9998c3dce384d7765c5f52a98bca08bd6a5d891749b5631
Contents?: true
Size: 453 Bytes
Versions: 3
Compression:
Stored size: 453 Bytes
Contents
module Dashify module Extensions module ActionView module TagHelper extend ActiveSupport::Concern private def tag_options(options, escape=true) options.stringify_keys! %w[id class for].each do |key| if options.has_key? key options[key] = options[key].to_s.dasherize end end super options, escape end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems