Sha256: d57a49a615801a0e53690f477ffaec884240539422c2c5daa003b0b95549ca65

Contents?: true

Size: 311 Bytes

Versions: 1

Compression:

Stored size: 311 Bytes

Contents

module FlashRailsMessages
  module Helper
    # Returns flash rails messages that will be displayed in your DOM.
    # Just call this method from your erb template.
    #
    #   <%= render_flash_messages %>
    #
    def render_flash_messages
      FlashRailsMessages::Base.new.render(flash)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
flash_rails_messages-0.0.6 lib/flash_rails_messages/helper.rb