Devise/Rails - How to remove a particular flash message? (Signed in Successfully)

benoitr picture benoitr · Nov 4, 2010 · Viewed 17.8k times · Source

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 just for the signed in and the signed out one. Did I have to overwrite the controller or there is another way?

Thank you!

Answer

shingara picture shingara · Nov 4, 2010

You just define it to an empty string in your local file. In this case you can see nothing.