Using Devise, I would like to know if there is a way to remove a particular flash message? (Signed in Successfully).
I care about other msg in the view, so It is jus
Ok!
As Shingara said I define an empty string in devise.en.yml
sessions:
signed_in: ''
and I also change a bit the following line (provided by nifty-generators):
<% flash.each do |name, msg| %>
<%= content_tag :div, msg, :id => "flash" if msg.length > 0 %>
<% end %>
In that way, my css doesn't appear.