Skip to content

Commit b053636

Browse files
author
Quentin de Metz
committed
Fix a couple of typos in I18n documentation
1 parent 6b22f6e commit b053636

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

development/i18n.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ The following configuration is necessary on I18n so that:
1616
`locales` directory
1717

1818
```ruby
19-
configure
19+
configure do
2020
I18n::Backend::Simple.send(:include, I18n::Backend::Fallbacks)
21-
I18n.load_path, Dir[File.join(settings.root, 'locales', '*.yml')]
21+
I18n.load_path = Dir[File.join(settings.root, 'locales', '*.yml')]
2222
I18n.backend.load_translations
2323
end
2424
```

0 commit comments

Comments
 (0)