Sha256: d6e5ed1080aa77cb1b8a444381eebf268d70503a20a7069dd4b5404d0d3175e6

Contents?: true

Size: 218 Bytes

Versions: 142

Compression:

Stored size: 218 Bytes

Contents

# frozen_string_literal: true

module Renalware
  module FlashHelper
    STYLES = { notice: "success", error: "alert", warning: "warning" }.freeze

    def flash_style(name)
      STYLES[name.to_sym]
    end
  end
end

Version data entries

142 entries across 142 versions & 1 rubygems

Version Path
renalware-core-2.1.1 app/helpers/renalware/flash_helper.rb
renalware-core-2.1.0 app/helpers/renalware/flash_helper.rb
renalware-core-2.0.167 app/helpers/renalware/flash_helper.rb
renalware-core-2.0.166 app/helpers/renalware/flash_helper.rb
renalware-core-2.0.165 app/helpers/renalware/flash_helper.rb
renalware-core-2.0.164 app/helpers/renalware/flash_helper.rb
renalware-core-2.0.163 app/helpers/renalware/flash_helper.rb
renalware-core-2.0.162 app/helpers/renalware/flash_helper.rb
renalware-core-2.0.161 app/helpers/renalware/flash_helper.rb
renalware-core-2.0.160 app/helpers/renalware/flash_helper.rb
renalware-core-2.0.159 app/helpers/renalware/flash_helper.rb
renalware-core-2.0.158 app/helpers/renalware/flash_helper.rb
renalware-core-2.0.157 app/helpers/renalware/flash_helper.rb
renalware-core-2.0.156 app/helpers/renalware/flash_helper.rb
renalware-core-2.0.155 app/helpers/renalware/flash_helper.rb
renalware-core-2.0.153 app/helpers/renalware/flash_helper.rb
renalware-core-2.0.152 app/helpers/renalware/flash_helper.rb
renalware-core-2.0.151 app/helpers/renalware/flash_helper.rb
renalware-core-2.0.149 app/helpers/renalware/flash_helper.rb
renalware-core-2.0.148 app/helpers/renalware/flash_helper.rb