Refactor i18n so that all community information is available

This makes it easier to use non-chapter communities on the site in future.
This commit is contained in:
Andy Allan 2022-08-03 10:11:30 +01:00
parent bb7f5ac2c8
commit 83a0ea14f1
4 changed files with 26 additions and 30 deletions

View file

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