作者:小啊丌-619 | 来源:互联网 | 2023-09-09 16:55
As the name says, I am using devise for user auth in a rails 3 app Upon user log out, there is a flash notice, "User Successfully signed out" that I don't want to appear. However, I can't figure out how to remove the notice.
顾名思义,我在rails 3应用程序中使用devise for user auth。当用户注销时,会有一个闪存通知,“用户已成功注销”,我不想出现。但是,我无法弄清楚如何删除通知。
Is there a way to get around just making it blank? I would like to completely remove the notice so that, ideally, there's not even an html div for notice
有没有办法让它变成空白?我想完全删除通知,以便理想情况下,甚至没有通知的html div
2 个解决方案