Sha256: a25a17f25c07075e5ee21c1efef467b2fca735b44d2ec5ef48ec131f739d0c33
Contents?: true
Size: 233 Bytes
Versions: 3
Compression:
Stored size: 233 Bytes
Contents
module ApplicationHelper def tailwindcss_class_for(flash_type) { notice: "info", error: "danger", alert: "warning", success: "success", }.stringify_keys[flash_type.to_s] || flash_type.to_s end end
Version data entries
3 entries across 3 versions & 1 rubygems