Sha256: 5efbb3fd7ce9343a03de814b09b3404c957d09f07ea56140d22a5ae3cdd1b575
Contents?: true
Size: 181 Bytes
Versions: 4
Compression:
Stored size: 181 Bytes
Contents
module FlashHelper def flash_tag(flash) flash.collect do |level, message| content_tag(:div, sanitize(message), :class => level) end.join("\n").html_safe end end
Version data entries
4 entries across 4 versions & 1 rubygems