Sha256: 63b048cac0875c304df30f2b9f4c0b15af245ec6a3b560b174bd7a8fcc6b2a7e

Contents?: true

Size: 172 Bytes

Versions: 32

Compression:

Stored size: 172 Bytes

Contents

module ApplicationHelper
  def flash_class(level)
    case level
    when :notice then "info"
    when :error then "danger"
    when :alert then "warning"
    end
  end
end

Version data entries

32 entries across 32 versions & 1 rubygems

Version Path
jetfuel-1.19.4 templates/application_helper.rb
jetfuel-1.19.3 templates/application_helper.rb
jetfuel-1.19.2 templates/application_helper.rb
jetfuel-1.19.1 templates/application_helper.rb
jetfuel-1.19.0 templates/application_helper.rb
jetfuel-1.18.6 templates/application_helper.rb
jetfuel-1.18.5 templates/application_helper.rb
jetfuel-1.18.4 templates/application_helper.rb
jetfuel-1.18.3 templates/application_helper.rb
jetfuel-1.18.2 templates/application_helper.rb
jetfuel-1.18.1 templates/application_helper.rb
jetfuel-1.18.0 templates/application_helper.rb