Created
August 23, 2018 15:34
-
-
Save manojnaidu619/28d099c5db0d7482c797f215714c7edb to your computer and use it in GitHub Desktop.
Devise flash messages showing on the screen
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%- flash.each do |name, msg| -%> | |
<%= content_tag :div, msg, :id => "flash_#{name}" if msg.is_a?(String) %> | |
<%- end -%> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment