Permalink
Browse files

Merge pull request #1993 from ahmeij/master

Add message about :timedout flash to the Readme (resolved #1777)
  • Loading branch information...
2 parents bdf0bc7 + 352dd1f commit 2f75b12adda7180f1cd2c217e640e56c59a17b17 @josevalim josevalim committed Jul 25, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 README.md
View
@@ -240,7 +240,7 @@ devise_for :admins, :controllers => { :sessions => "admins/sessions" }
3) And since we changed the controller, it won't use the "devise/sessions" views, so remember to copy "devise/sessions" to "admin/sessions".
-Remember that Devise uses flash messages to let users know if sign in was successful or failed. Devise expects your application to call "flash[:notice]" and "flash[:alert]" as appropriate.
+Remember that Devise uses flash messages to let users know if sign in was successful or failed. Devise expects your application to call "flash[:notice]" and "flash[:alert]" as appropriate. Do not print the entire flash hash, print specific keys or atleast remove the :timedout key from the hash as Devise adds this key in some circumstances, this key is not meant for display.
### Configuring routes

0 comments on commit 2f75b12

Please sign in to comment.