Sha256: e62375695e253e0f759b11b87c4218a5095f19b32b5ac306700a1946f880c149

Contents?: true

Size: 189 Bytes

Versions: 8

Compression:

Stored size: 189 Bytes

Contents

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

8 entries across 8 versions & 1 rubygems

Version Path
renalware-core-2.0.0.pre.beta11 app/helpers/renalware/flash_helper.rb
renalware-core-2.0.0.pre.beta10 app/helpers/renalware/flash_helper.rb
renalware-core-2.0.0.pre.beta9 app/helpers/renalware/flash_helper.rb
renalware-core-2.0.0.pre.beta8 app/helpers/renalware/flash_helper.rb
renalware-core-2.0.0.pre.beta7 app/helpers/renalware/flash_helper.rb
renalware-core-2.0.0.pre.beta6 app/helpers/renalware/flash_helper.rb
renalware-core-2.0.0.pre.beta5 app/helpers/renalware/flash_helper.rb
renalware-core-2.0.0.pre.beta4 app/helpers/renalware/flash_helper.rb