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

前端 未结 8 895
囚心锁ツ
囚心锁ツ 2020-12-13 12:38

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

8条回答
  •  独厮守ぢ
    2020-12-13 13:26

    I think that devise now understands that if you change the error message in config/locals/devise.en.yml to an empty string it will automatically ignore it. At least that's what worked with me.

提交回复
热议问题