Sha256: 34e71968d838f8ee2e5e08fc1d33783178e2148ce37261540ece87884714a7a1
Contents?: true
Size: 276 Bytes
Versions: 3
Compression:
Stored size: 276 Bytes
Contents
module TheNotificationHelper def flash_class(level) case level.to_sym when :notice then "alert-info" when :errors then "alert-danger" when :error then "alert-danger" when :alert then "alert-warning" else "alert-success" end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
the_notification-0.5.1 | app/helpers/the_notification_helper.rb |
the_notification-0.5.0 | app/helpers/the_notification_helper.rb |
the_notification-0.0.1 | app/helpers/the_notification_helper.rb |