Sha256: 1f37490bcd07d06aa27bac5933e07855684d32b9f5a333bb60cc5c6b49a2a344
Contents?: true
Size: 287 Bytes
Versions: 15
Compression:
Stored size: 287 Bytes
Contents
module FeedbackGem module FeedbackHelper def flash_class(level) case level when 'notice' then "alert alert-info" when 'success' then "alert alert-success" when 'error' then "alert alert-danger" when 'alert' then "alert alert-error" end end end end
Version data entries
15 entries across 15 versions & 1 rubygems