From 352dd1f2fc7d0ee5a523a020582cf1911c583fcb Mon Sep 17 00:00:00 2001 From: Andre Meij Date: Wed, 25 Jul 2012 16:47:40 +0300 Subject: [PATCH] Update README.md include :timedout notice Resolves #1777 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e4d3996ff0..e30298c8fc 100644 --- a/README.md +++ b/README.md @@ -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