From cb48c9c40844367a4db74caf3eaaaaae74a5b6e0 Mon Sep 17 00:00:00 2001 From: Thomas Darde Date: Fri, 6 Jun 2014 18:39:06 +0200 Subject: [PATCH] Update README.md Add more description on the way I18n.locale has to be set in case of multi-locale app. --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 6a9a2eb9..7be21612 100644 --- a/README.md +++ b/README.md @@ -385,6 +385,8 @@ Take a look at our locale file to check all available messages. You may also be https://github.com/plataformatec/devise/wiki/I18n +Caution: Devise Controllers inherit from ApplicationController. If your app uses multiple locales, you should be sure to set I18n.locale in ApplicationController + ### Test helpers Devise includes some test helpers for functional specs. In order to use them, you need to include Devise in your functional tests by adding the following to the bottom of your `test/test_helper.rb` file: