mirror of
https://github.com/heartcombo/devise.git
synced 2022-11-09 12:18:31 -05:00
Update README.md
Add more description on the way I18n.locale has to be set in case of multi-locale app.
This commit is contained in:
parent
2bde395840
commit
cb48c9c408
1 changed files with 2 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue