DevProgress / HillaryBNB

Home sharing app for Hillary Clinton supporters
Other
10 stars 13 forks source link

flash[:error] doesn't do anything #77

Closed durka closed 8 years ago

durka commented 8 years ago

For instance, there is no message shown if you go to confirm an email with an invalid token: http://hillarybnb.com/users/12345/confirm_email

durka commented 8 years ago

The fix seems to be to replace

flash[:error] = "foo"

with

flash[:errors] = ["foo"]