Skip to content

Commit

Permalink
Merge pull request #642 from nickcampbell18/patch-1
Browse files Browse the repository at this point in the history
Fix load_path example in README.md
  • Loading branch information
radar committed Nov 10, 2022
2 parents a544c8d + fc44cb5 commit 15e59ef
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 @@ -26,7 +26,7 @@ gem 'i18n'
Then configure I18n with some translations, and a default locale:

```ruby
I18n.load_path << Dir[File.expand_path("config/locales") + "/*.yml"]
I18n.load_path += Dir[File.expand_path("config/locales") + "/*.yml"]
I18n.default_locale = :en # (note that `en` is already the default!)
```

Expand Down

0 comments on commit 15e59ef

Please sign in to comment.