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.0.40 app/helpers/renalware/flash_helper.rb
renalware-core-2.0.39 app/helpers/renalware/flash_helper.rb
renalware-core-2.0.38 app/helpers/renalware/flash_helper.rb
renalware-core-2.0.37 app/helpers/renalware/flash_helper.rb
renalware-core-2.0.36 app/helpers/renalware/flash_helper.rb
renalware-core-2.0.35 app/helpers/renalware/flash_helper.rb
renalware-core-2.0.34 app/helpers/renalware/flash_helper.rb
renalware-core-2.0.33 app/helpers/renalware/flash_helper.rb
renalware-core-2.0.32 app/helpers/renalware/flash_helper.rb
renalware-core-2.0.31 app/helpers/renalware/flash_helper.rb
renalware-core-2.0.30 app/helpers/renalware/flash_helper.rb
renalware-core-2.0.28 app/helpers/renalware/flash_helper.rb
renalware-core-2.0.27 app/helpers/renalware/flash_helper.rb
renalware-core-2.0.26 app/helpers/renalware/flash_helper.rb
renalware-core-2.0.25 app/helpers/renalware/flash_helper.rb
renalware-core-2.0.24 app/helpers/renalware/flash_helper.rb
renalware-core-2.0.23 app/helpers/renalware/flash_helper.rb
renalware-core-2.0.22 app/helpers/renalware/flash_helper.rb
renalware-core-2.0.21 app/helpers/renalware/flash_helper.rb
renalware-core-2.0.20 app/helpers/renalware/flash_helper.rb