2

In my rails app Devise sends a flash message "Successfully signed in" after the user logs in. However if the user navigates to any other page and then navigates back to the post-sign-in page using the back button, the same flash message renders again. Shouldn't it be destroyed automatically after it rendered the first time? How do I keep it from appearing again?

VC.One
  • 14,790
  • 4
  • 25
  • 57
TDB
  • 367
  • 1
  • 3
  • 15

0 Answers0