Skip to content

Commit

Permalink
Update README.md include :timedout notice
Browse files Browse the repository at this point in the history
Resolves #1777
  • Loading branch information
Andre Meij committed Jul 25, 2012
1 parent bdf0bc7 commit 352dd1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

1 comment on commit 352dd1f

@drewish
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think "atleast" should be "at least"

Please sign in to comment.