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.24 templates/application_helper.rb
jetfuel-1.19.23 templates/application_helper.rb
jetfuel-1.19.22 templates/application_helper.rb
jetfuel-1.19.21 templates/application_helper.rb
jetfuel-1.19.20 templates/application_helper.rb
jetfuel-1.19.19 templates/application_helper.rb
jetfuel-1.19.18 templates/application_helper.rb
jetfuel-1.19.17 templates/application_helper.rb
jetfuel-1.19.16 templates/application_helper.rb
jetfuel-1.19.15 templates/application_helper.rb
jetfuel-1.19.14 templates/application_helper.rb
jetfuel-1.19.13 templates/application_helper.rb
jetfuel-1.19.12 templates/application_helper.rb
jetfuel-1.19.11 templates/application_helper.rb
jetfuel-1.19.10 templates/application_helper.rb
jetfuel-1.19.9 templates/application_helper.rb
jetfuel-1.19.8 templates/application_helper.rb
jetfuel-1.19.7 templates/application_helper.rb
jetfuel-1.19.6 templates/application_helper.rb
jetfuel-1.19.5 templates/application_helper.rb