Move the i18n loading to an initializer

Use after_initialize to avoid rails resetting the translations
This commit is contained in:
Andy Allan 2022-03-02 16:24:02 +00:00
parent 1bcde09125
commit e530d4f54d
2 changed files with 3 additions and 1 deletions

View file

@ -0,0 +1,3 @@
Rails.configuration.after_initialize do
OsmCommunityIndex::LocalChapter.add_to_i18n
end